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

Side by Side Diff: src/profiler/cpu-profiler-inl.h

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.cc ('k') | src/profiler/heap-profiler.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 2010 the V8 project authors. All rights reserved. 1 // Copyright 2010 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_CPU_PROFILER_INL_H_ 5 #ifndef V8_PROFILER_CPU_PROFILER_INL_H_
6 #define V8_CPU_PROFILER_INL_H_ 6 #define V8_PROFILER_CPU_PROFILER_INL_H_
7 7
8 #include "src/cpu-profiler.h" 8 #include "src/profiler/cpu-profiler.h"
9 9
10 #include <new> 10 #include <new>
11 #include "src/circular-queue-inl.h" 11 #include "src/profiler/circular-queue-inl.h"
12 #include "src/profile-generator-inl.h" 12 #include "src/profiler/profile-generator-inl.h"
13 #include "src/unbound-queue-inl.h" 13 #include "src/profiler/unbound-queue-inl.h"
14 14
15 namespace v8 { 15 namespace v8 {
16 namespace internal { 16 namespace internal {
17 17
18 void CodeCreateEventRecord::UpdateCodeMap(CodeMap* code_map) { 18 void CodeCreateEventRecord::UpdateCodeMap(CodeMap* code_map) {
19 code_map->AddCode(start, entry, size); 19 code_map->AddCode(start, entry, size);
20 } 20 }
21 21
22 22
23 void CodeMoveEventRecord::UpdateCodeMap(CodeMap* code_map) { 23 void CodeMoveEventRecord::UpdateCodeMap(CodeMap* code_map) {
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 return &evt->sample; 69 return &evt->sample;
70 } 70 }
71 71
72 72
73 void ProfilerEventsProcessor::FinishTickSample() { 73 void ProfilerEventsProcessor::FinishTickSample() {
74 ticks_buffer_.FinishEnqueue(); 74 ticks_buffer_.FinishEnqueue();
75 } 75 }
76 76
77 } } // namespace v8::internal 77 } } // namespace v8::internal
78 78
79 #endif // V8_CPU_PROFILER_INL_H_ 79 #endif // V8_PROFILER_CPU_PROFILER_INL_H_
OLDNEW
« no previous file with comments | « src/profiler/cpu-profiler.cc ('k') | src/profiler/heap-profiler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698