Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Side by Side Diff: src/profiler/cpu-profiler.cc

Issue 1356223004: Move heap and CPU profilers into a dedicated directory. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: rebaseline Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/profiler/cpu-profiler.h ('k') | src/profiler/cpu-profiler-inl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « src/profiler/cpu-profiler.h ('k') | src/profiler/cpu-profiler-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698