| 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 #ifndef BASE_WIN_SAMPLING_PROFILER_H_ | 5 #ifndef BASE_WIN_SAMPLING_PROFILER_H_ |
| 6 #define BASE_WIN_SAMPLING_PROFILER_H_ | 6 #define BASE_WIN_SAMPLING_PROFILER_H_ |
| 7 #pragma once | |
| 8 | 7 |
| 9 #include <vector> | 8 #include <vector> |
| 10 | 9 |
| 11 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| 12 #include "base/time.h" | 11 #include "base/time.h" |
| 13 #include "base/win/scoped_handle.h" | 12 #include "base/win/scoped_handle.h" |
| 14 | 13 |
| 15 namespace base { | 14 namespace base { |
| 16 namespace win { | 15 namespace win { |
| 17 | 16 |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 bool is_started_; | 64 bool is_started_; |
| 66 std::vector<ULONG> buckets_; | 65 std::vector<ULONG> buckets_; |
| 67 | 66 |
| 68 DISALLOW_COPY_AND_ASSIGN(SamplingProfiler); | 67 DISALLOW_COPY_AND_ASSIGN(SamplingProfiler); |
| 69 }; | 68 }; |
| 70 | 69 |
| 71 } // namespace win | 70 } // namespace win |
| 72 } // namespace base | 71 } // namespace base |
| 73 | 72 |
| 74 #endif // BASE_WIN_SAMPLING_PROFILER_H_ | 73 #endif // BASE_WIN_SAMPLING_PROFILER_H_ |
| OLD | NEW |