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 #include "src/cpu-profiler.h" | 5 #include "src/profiler/cpu-profiler.h" |
6 | 6 |
7 #include "src/compiler.h" | 7 #include "src/compiler.h" |
8 #include "src/cpu-profiler-inl.h" | |
9 #include "src/deoptimizer.h" | 8 #include "src/deoptimizer.h" |
10 #include "src/frames-inl.h" | 9 #include "src/frames-inl.h" |
11 #include "src/hashmap.h" | 10 #include "src/hashmap.h" |
12 #include "src/log-inl.h" | 11 #include "src/log-inl.h" |
| 12 #include "src/profiler/cpu-profiler-inl.h" |
13 #include "src/vm-state-inl.h" | 13 #include "src/vm-state-inl.h" |
14 | 14 |
15 #include "include/v8-profiler.h" | 15 #include "include/v8-profiler.h" |
16 | 16 |
17 namespace v8 { | 17 namespace v8 { |
18 namespace internal { | 18 namespace internal { |
19 | 19 |
20 static const int kProfilerStackSize = 64 * KB; | 20 static const int kProfilerStackSize = 64 * KB; |
21 | 21 |
22 | 22 |
(...skipping 499 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
522 Builtins::Name id = static_cast<Builtins::Name>(i); | 522 Builtins::Name id = static_cast<Builtins::Name>(i); |
523 rec->start = builtins->builtin(id)->address(); | 523 rec->start = builtins->builtin(id)->address(); |
524 rec->builtin_id = id; | 524 rec->builtin_id = id; |
525 processor_->Enqueue(evt_rec); | 525 processor_->Enqueue(evt_rec); |
526 } | 526 } |
527 } | 527 } |
528 | 528 |
529 | 529 |
530 } // namespace internal | 530 } // namespace internal |
531 } // namespace v8 | 531 } // namespace v8 |
OLD | NEW |