v8
3.25.30(node0.11.13)
V8 is Google's open source JavaScript engine
|
Public Member Functions | |
SamplerThread (int interval) | |
virtual void | Run () |
Public Member Functions inherited from Thread | |
Thread (const Options &options) | |
virtual | ~Thread () |
void | Start () |
void | StartSynchronously () |
void | Join () |
const char * | name () const |
PlatformData * | data () |
void | NotifyStartedAndRun () |
Static Public Member Functions | |
static void | SetUp () |
static void | TearDown () |
static void | AddActiveSampler (Sampler *sampler) |
static void | RemoveActiveSampler (Sampler *sampler) |
Static Public Member Functions inherited from Thread | |
static LocalStorageKey | CreateThreadLocalKey () |
static void | DeleteThreadLocalKey (LocalStorageKey key) |
static void * | GetThreadLocal (LocalStorageKey key) |
static int | GetThreadLocalInt (LocalStorageKey key) |
static void | SetThreadLocal (LocalStorageKey key, void *value) |
static void | SetThreadLocalInt (LocalStorageKey key, int value) |
static bool | HasThreadLocal (LocalStorageKey key) |
static void * | GetExistingThreadLocal (LocalStorageKey key) |
static void | YieldCPU () |
Static Public Attributes | |
static const int | kSamplerThreadStackSize = 64 * KB |
Static Public Attributes inherited from Thread | |
static const int | kMaxThreadNameLength = 16 |
Additional Inherited Members | |
Public Types inherited from Thread | |
enum | LocalStorageKey { LOCAL_STORAGE_KEY_MIN_VALUE = kMinInt, LOCAL_STORAGE_KEY_MAX_VALUE = kMaxInt } |
Definition at line 499 of file sampler.cc.
|
inlineexplicit |
Definition at line 503 of file sampler.cc.
Referenced by SamplerThread::AddActiveSampler().
|
inlinestatic |
Definition at line 510 of file sampler.cc.
References ASSERT, Sampler::interval(), Sampler::IsActive(), v8::internal::NULL, SamplerThread::SamplerThread(), and Thread::StartSynchronously().
Referenced by Sampler::Start().
|
inlinestatic |
Definition at line 528 of file sampler.cc.
References ASSERT, Sampler::IsActive(), Thread::Join(), v8::internal::NULL, and v8::internal::USE().
Referenced by Sampler::Stop().
|
inlinevirtual |
Implements Thread.
Definition at line 552 of file sampler.cc.
References Sampler::DoSample(), Isolate::IsInitialized(), Sampler::isolate(), Sampler::IsProfiling(), and OS::Sleep().
|
inlinestatic |
Definition at line 507 of file sampler.cc.
Referenced by Sampler::SetUp().
|
inlinestatic |
Definition at line 508 of file sampler.cc.
References v8::internal::NULL.
Referenced by Sampler::TearDown().
|
static |
Definition at line 501 of file sampler.cc.