![]() |
v8
3.11.10(node0.8.26)
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 706 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 743 of file platform.h.
|
inline |
Definition at line 731 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 730 of file platform.h.
References v8::internal::NoBarrier_AtomicIncrement().
Referenced by Ticker::SetProfiler().
|
inline |
Definition at line 712 of file platform.h.
Referenced by SamplerThread::AddActiveSampler(), and SignalSender::AddActiveSampler().
|
inline |
Definition at line 734 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 736 of file platform.h.
Referenced by SamplerThread::DoCpuProfile(), SamplerThread::DoRuntimeProfile(), SignalSender::DoRuntimeProfile(), Ticker::DoSampleStack(), and SamplerThread::SampleContext().
|
inline |
Definition at line 729 of file platform.h.
References v8::internal::NoBarrier_Load().
Referenced by SamplerThread::DoCpuProfile(), and SignalSender::DoCpuProfile().
|
inline |
Definition at line 745 of file platform.h.
Referenced by SignalSender::DoCpuProfile(), and SamplerThread::SampleContext().
|
inline |
Definition at line 740 of file platform.h.
|
inline |
Definition at line 739 of file platform.h.
|
inline |
Definition at line 715 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().