| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 // An abstraction for functions used to control execution time profiling. | 5 // An abstraction for functions used to control execution time profiling. |
| 6 // All methods are effectively no-ops unless this program is being run through | 6 // All methods are effectively no-ops unless this program is being run through |
| 7 // a supported tool (currently only Quantify, a companion tool to Purify) | 7 // a supported tool (currently only Quantify, a companion tool to Purify) |
| 8 | 8 |
| 9 #ifndef BASE_PROFILER_H__ | 9 #ifndef BASE_PROFILER_H__ |
| 10 #define BASE_PROFILER_H__ | 10 #define BASE_PROFILER_H__ |
| (...skipping 18 matching lines...) Expand all Loading... |
| 29 // Sets the name of the current thread for display in the profiler's UI. | 29 // Sets the name of the current thread for display in the profiler's UI. |
| 30 static void SetThreadName(const char *name); | 30 static void SetThreadName(const char *name); |
| 31 | 31 |
| 32 private: | 32 private: |
| 33 DISALLOW_IMPLICIT_CONSTRUCTORS(Profiler); | 33 DISALLOW_IMPLICIT_CONSTRUCTORS(Profiler); |
| 34 }; | 34 }; |
| 35 | 35 |
| 36 } // namespace base | 36 } // namespace base |
| 37 | 37 |
| 38 #endif // BASE_PROFILER_H__ | 38 #endif // BASE_PROFILER_H__ |
| 39 | |
| OLD | NEW |