Home | History | Annotate | Download | only in profiler

Lines Matching refs:V8

1 // Copyright 2016 the V8 project authors. All rights reserved.
9 #include "src/v8.h"
14 namespace v8 {
17 v8::Isolate* isolate) {
28 PROFILER_TRACE_CATEGORY_ENABLED("v8.cpu_profiler");
29 PROFILER_TRACE_CATEGORY_ENABLED("v8.cpu_profiler.hires");
30 V8::GetCurrentPlatform()->AddTraceStateObserver(this);
35 V8::GetCurrentPlatform()->RemoveTraceStateObserver(this);
39 if (!PROFILER_TRACE_CATEGORY_ENABLED("v8.cpu_profiler")) return;
42 [](v8::Isolate*, void* data) {
53 [](v8::Isolate*, void* data) {
63 PROFILER_TRACE_CATEGORY_ENABLED("v8.cpu_profiler.hires") ? 100 : 1000;
78 } // namespace v8