Home | History | Annotate | Download | only in cctest

Lines Matching refs:v8

1 // Copyright 2013 the V8 project authors. All rights reserved.
33 #include "include/v8-profiler.h"
35 namespace v8 {
38 class ProfilerExtension : public v8::Extension {
40 ProfilerExtension() : v8::Extension("v8/profiler", kSource) { }
41 virtual v8::Handle<v8::FunctionTemplate> GetNativeFunctionTemplate(
42 v8::Isolate* isolate,
43 v8::Handle<v8::String> name);
44 static void StartProfiling(const v8::FunctionCallbackInfo<v8::Value>& args);
45 static void StopProfiling(const v8::FunctionCallbackInfo<v8::Value>& args);
46 static v8::CpuProfile* last_profile;
52 } } // namespace v8::internal