v8
3.14.5(node0.10.28)
V8 is Google's open source JavaScript engine
|
#include <platform.h>
Data Structures | |
class | PlatformData |
Public Member Functions | |
Sampler (Isolate *isolate, int interval) | |
virtual | ~Sampler () |
int | interval () const |
void | SampleStack (TickSample *sample) |
virtual void | Tick (TickSample *sample)=0 |
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)=0 |
Definition at line 733 of file platform.h.
Definition at line 755 of file platform-cygwin.cc.
|
virtual |
Definition at line 765 of file platform-cygwin.cc.
References ASSERT, and Sampler::IsActive().
|
inline |
Definition at line 770 of file platform.h.
|
inline |
Definition at line 758 of file platform.h.
References v8::internal::NoBarrier_AtomicIncrement().
Referenced by Ticker::ClearProfiler().
|
protectedpure virtual |
Implemented in Ticker.
Referenced by Sampler::SampleStack().
|
inline |
Definition at line 757 of file platform.h.
References v8::internal::NoBarrier_AtomicIncrement().
Referenced by Ticker::SetProfiler().
|
inline |
Definition at line 739 of file platform.h.
Referenced by SamplerThread::AddActiveSampler(), and SignalSender::AddActiveSampler().
|
inline |
Definition at line 761 of file platform.h.
References v8::internal::NoBarrier_Load().
Referenced by SamplerRegistry::AddActiveSampler(), Ticker::ClearProfiler(), Ticker::ClearWindow(), Logger::EnsureTickerStarted(), Logger::EnsureTickerStopped(), SamplerRegistry::RemoveActiveSampler(), Logger::ResumeProfiler(), Ticker::SetProfiler(), Ticker::SetWindow(), Sampler::Start(), Sampler::Stop(), Sampler::~Sampler(), and Ticker::~Ticker().
|
inline |
Definition at line 763 of file platform.h.
Referenced by SamplerThread::DoCpuProfile(), SamplerThread::DoRuntimeProfile(), SignalSender::DoRuntimeProfile(), Ticker::DoSampleStack(), and SamplerThread::SampleContext().
|
inline |
Definition at line 756 of file platform.h.
References v8::internal::NoBarrier_Load().
Referenced by SamplerThread::DoCpuProfile(), and SignalSender::DoCpuProfile().
|
inline |
Definition at line 772 of file platform.h.
Referenced by SignalSender::DoCpuProfile(), and SamplerThread::SampleContext().
|
inline |
Definition at line 767 of file platform.h.
|
inline |
Definition at line 766 of file platform.h.
|
inline |
Definition at line 742 of file platform.h.
References Sampler::DoSampleStack().
Referenced by SamplerThread::SampleContext().
void Start | ( | ) |
Definition at line 771 of file platform-cygwin.cc.
References SamplerThread::AddActiveSampler(), ASSERT, and Sampler::IsActive().
Referenced by Logger::EnsureTickerStarted(), Logger::ResumeProfiler(), Ticker::SetProfiler(), and Ticker::SetWindow().
void Stop | ( | ) |
Definition at line 778 of file platform-cygwin.cc.
References ASSERT, Sampler::IsActive(), and SamplerThread::RemoveActiveSampler().
Referenced by Ticker::ClearProfiler(), Ticker::ClearWindow(), Logger::EnsureTickerStopped(), Logger::PauseProfiler(), and Ticker::~Ticker().
|
pure virtual |
Implemented in Ticker.
Referenced by SamplerThread::SampleContext().