| 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 "v8.h" | 5 #include "src/v8.h" |
| 6 | 6 |
| 7 #include "cpu-profiler-inl.h" | 7 #include "src/cpu-profiler-inl.h" |
| 8 | 8 |
| 9 #include "compiler.h" | 9 #include "src/compiler.h" |
| 10 #include "frames-inl.h" | 10 #include "src/frames-inl.h" |
| 11 #include "hashmap.h" | 11 #include "src/hashmap.h" |
| 12 #include "log-inl.h" | 12 #include "src/log-inl.h" |
| 13 #include "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 |
| 23 ProfilerEventsProcessor::ProfilerEventsProcessor( | 23 ProfilerEventsProcessor::ProfilerEventsProcessor( |
| 24 ProfileGenerator* generator, | 24 ProfileGenerator* generator, |
| 25 Sampler* sampler, | 25 Sampler* sampler, |
| (...skipping 477 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 503 ReportBuiltinEventRecord* rec = &evt_rec.ReportBuiltinEventRecord_; | 503 ReportBuiltinEventRecord* rec = &evt_rec.ReportBuiltinEventRecord_; |
| 504 Builtins::Name id = static_cast<Builtins::Name>(i); | 504 Builtins::Name id = static_cast<Builtins::Name>(i); |
| 505 rec->start = builtins->builtin(id)->address(); | 505 rec->start = builtins->builtin(id)->address(); |
| 506 rec->builtin_id = id; | 506 rec->builtin_id = id; |
| 507 processor_->Enqueue(evt_rec); | 507 processor_->Enqueue(evt_rec); |
| 508 } | 508 } |
| 509 } | 509 } |
| 510 | 510 |
| 511 | 511 |
| 512 } } // namespace v8::internal | 512 } } // namespace v8::internal |
| OLD | NEW |