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

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

Issue 2105943002: Expose TickSample and its APIs in v8-profiler.h (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Make internal::TickSample Created 4 years, 5 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
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 #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 <memory> 8 #include <memory>
9 9
10 #include "src/allocation.h" 10 #include "src/allocation.h"
(...skipping 10 matching lines...) Expand all
21 21
22 namespace v8 { 22 namespace v8 {
23 namespace internal { 23 namespace internal {
24 24
25 // Forward declarations. 25 // Forward declarations.
26 class CodeEntry; 26 class CodeEntry;
27 class CodeMap; 27 class CodeMap;
28 class CpuProfile; 28 class CpuProfile;
29 class CpuProfilesCollection; 29 class CpuProfilesCollection;
30 class ProfileGenerator; 30 class ProfileGenerator;
31 struct TickSample;
31 32
32 #define CODE_EVENTS_TYPE_LIST(V) \ 33 #define CODE_EVENTS_TYPE_LIST(V) \
33 V(CODE_CREATION, CodeCreateEventRecord) \ 34 V(CODE_CREATION, CodeCreateEventRecord) \
34 V(CODE_MOVE, CodeMoveEventRecord) \ 35 V(CODE_MOVE, CodeMoveEventRecord) \
35 V(CODE_DISABLE_OPT, CodeDisableOptEventRecord) \ 36 V(CODE_DISABLE_OPT, CodeDisableOptEventRecord) \
36 V(CODE_DEOPT, CodeDeoptEventRecord) \ 37 V(CODE_DEOPT, CodeDeoptEventRecord) \
37 V(REPORT_BUILTIN, ReportBuiltinEventRecord) 38 V(REPORT_BUILTIN, ReportBuiltinEventRecord)
38 39
39 40
40 class CodeEventRecord { 41 class CodeEventRecord {
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after
235 bool is_profiling_; 236 bool is_profiling_;
236 237
237 DISALLOW_COPY_AND_ASSIGN(CpuProfiler); 238 DISALLOW_COPY_AND_ASSIGN(CpuProfiler);
238 }; 239 };
239 240
240 } // namespace internal 241 } // namespace internal
241 } // namespace v8 242 } // namespace v8
242 243
243 244
244 #endif // V8_PROFILER_CPU_PROFILER_H_ 245 #endif // V8_PROFILER_CPU_PROFILER_H_
OLDNEW
« no previous file with comments | « src/log.cc ('k') | src/profiler/cpu-profiler.cc » ('j') | src/profiler/cpu-profiler.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698