v8
3.11.10(node0.8.26)
V8 is Google's open source JavaScript engine
|
Public Member Functions | |
Ticker (Isolate *isolate, int interval) | |
~Ticker () | |
virtual void | Tick (TickSample *sample) |
void | SetWindow (SlidingStateWindow *window) |
void | ClearWindow () |
void | SetProfiler (Profiler *profiler) |
void | ClearProfiler () |
Public Member Functions inherited from Sampler | |
Sampler (Isolate *isolate, int interval) | |
virtual | ~Sampler () |
int | interval () const |
void | SampleStack (TickSample *sample) |
void | Start () |
void | Stop () |
bool | IsProfiling () const |
void | IncreaseProfilingDepth () |
void | DecreaseProfilingDepth () |
bool | IsActive () const |
Isolate * | isolate () |
int | samples_taken () const |
void | ResetSamplesTaken () |
PlatformData * | data () |
PlatformData * | platform_data () |
Protected Member Functions | |
virtual void | DoSampleStack (TickSample *sample) |
|
inline |
Definition at line 195 of file log.cc.
References Sampler::IsActive(), and Sampler::Stop().
|
inline |
Definition at line 219 of file log.cc.
References Sampler::DecreaseProfilingDepth(), Sampler::IsActive(), RuntimeProfiler::IsEnabled(), v8::internal::NULL, and Sampler::Stop().
|
inline |
Definition at line 207 of file log.cc.
References Sampler::IsActive(), RuntimeProfiler::IsEnabled(), v8::internal::NULL, and Sampler::Stop().
|
inlineprotectedvirtual |
Implements Sampler.
Definition at line 226 of file log.cc.
References Sampler::isolate(), and StackTracer::Trace().
|
inline |
Definition at line 212 of file log.cc.
References ASSERT, Sampler::IncreaseProfilingDepth(), Sampler::IsActive(), v8::internal::NULL, and Sampler::Start().
|
inline |
Definition at line 202 of file log.cc.
References Sampler::IsActive(), and Sampler::Start().
Referenced by SlidingStateWindow::SlidingStateWindow().
|
inlinevirtual |
Implements Sampler.
Definition at line 197 of file log.cc.
References SlidingStateWindow::AddState(), Profiler::Insert(), and TickSample::state.