| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 | 5 |
| 6 #ifndef BASE_PROFILER_SCOPED_PROFILE_H_ | 6 #ifndef BASE_PROFILER_SCOPED_PROFILE_H_ |
| 7 #define BASE_PROFILER_SCOPED_PROFILE_H_ | 7 #define BASE_PROFILER_SCOPED_PROFILE_H_ |
| 8 | 8 |
| 9 //------------------------------------------------------------------------------ | 9 //------------------------------------------------------------------------------ |
| 10 // ScopedProfile provides basic helper functions for profiling a short | 10 // ScopedProfile provides basic helper functions for profiling a short |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 55 | 55 |
| 56 private: | 56 private: |
| 57 Births* birth_; // Place in code where tracking started. | 57 Births* birth_; // Place in code where tracking started. |
| 58 TaskStopwatch stopwatch_; | 58 TaskStopwatch stopwatch_; |
| 59 | 59 |
| 60 DISALLOW_COPY_AND_ASSIGN(ScopedProfile); | 60 DISALLOW_COPY_AND_ASSIGN(ScopedProfile); |
| 61 }; | 61 }; |
| 62 | 62 |
| 63 } // namespace tracked_objects | 63 } // namespace tracked_objects |
| 64 | 64 |
| 65 #endif // BASE_PROFILER_SCOPED_PROFILE_H_ | 65 #endif // BASE_PROFILER_SCOPED_PROFILE_H_ |
| OLD | NEW |