OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project 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 V8_PROFILER_CPU_PROFILER_H_ | 5 #ifndef V8_PROFILER_CPU_PROFILER_H_ |
6 #define V8_PROFILER_CPU_PROFILER_H_ | 6 #define V8_PROFILER_CPU_PROFILER_H_ |
7 | 7 |
8 #include "src/allocation.h" | 8 #include "src/allocation.h" |
9 #include "src/atomic-utils.h" | 9 #include "src/atomic-utils.h" |
10 #include "src/base/atomicops.h" | 10 #include "src/base/atomicops.h" |
11 #include "src/base/platform/time.h" | 11 #include "src/base/platform/time.h" |
12 #include "src/compiler.h" | 12 #include "src/compiler.h" |
13 #include "src/locked-queue.h" | 13 #include "src/locked-queue.h" |
14 #include "src/profiler/circular-queue.h" | 14 #include "src/profiler/circular-queue.h" |
15 #include "src/profiler/sampler.h" | 15 #include "src/profiler/sampler.h" |
| 16 #include "src/profiler/tick-sample.h" |
16 | 17 |
17 namespace v8 { | 18 namespace v8 { |
18 namespace internal { | 19 namespace internal { |
19 | 20 |
20 // Forward declarations. | 21 // Forward declarations. |
21 class CodeEntry; | 22 class CodeEntry; |
22 class CodeMap; | 23 class CodeMap; |
23 class CompilationInfo; | 24 class CompilationInfo; |
24 class CpuProfile; | 25 class CpuProfile; |
25 class CpuProfilesCollection; | 26 class CpuProfilesCollection; |
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
269 bool is_profiling_; | 270 bool is_profiling_; |
270 | 271 |
271 DISALLOW_COPY_AND_ASSIGN(CpuProfiler); | 272 DISALLOW_COPY_AND_ASSIGN(CpuProfiler); |
272 }; | 273 }; |
273 | 274 |
274 } // namespace internal | 275 } // namespace internal |
275 } // namespace v8 | 276 } // namespace v8 |
276 | 277 |
277 | 278 |
278 #endif // V8_PROFILER_CPU_PROFILER_H_ | 279 #endif // V8_PROFILER_CPU_PROFILER_H_ |
OLD | NEW |