v8
3.11.10(node0.8.26)
V8 is Google's open source JavaScript engine
|
Public Member Functions | |
Profiler (Isolate *isolate) | |
void | Engage () |
void | Disengage () |
void | Insert (TickSample *sample) |
bool | Remove (TickSample *sample) |
void | Run () |
bool | paused () const |
void | pause () |
void | resume () |
Public Member Functions inherited from Thread | |
Thread (const Options &options) | |
virtual | ~Thread () |
void | Start () |
void | Join () |
const char * | name () const |
PlatformData * | data () |
Additional Inherited Members | |
Public Types inherited from Thread | |
enum | LocalStorageKey { LOCAL_STORAGE_KEY_MIN_VALUE = kMinInt, LOCAL_STORAGE_KEY_MAX_VALUE = kMaxInt } |
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 inherited from Thread | |
static const int | kMaxThreadNameLength = 16 |
void Disengage | ( | ) |
Definition at line 303 of file log.cc.
References Profiler::Insert(), ISOLATE, Thread::Join(), LOG, LOGGER, Profiler::resume(), and sample.
Referenced by Logger::TearDown().
void Engage | ( | ) |
Definition at line 282 of file log.cc.
References LOGGER, OS::LogSharedLibraryAddresses(), and Thread::Start().
Referenced by Logger::ResumeProfiler(), and Logger::SetUp().
|
inline |
Definition at line 90 of file log.cc.
References sample, and Semaphore::Signal().
Referenced by Profiler::Disengage(), and Ticker::Tick().
|
inline |
Definition at line 117 of file log.cc.
Referenced by Logger::PauseProfiler(), and Logger::SetUp().
|
inline |
Definition at line 116 of file log.cc.
Referenced by Logger::IsProfilerPaused().
|
inline |
|
inline |
Definition at line 118 of file log.cc.
Referenced by Profiler::Disengage(), and Logger::ResumeProfiler().
|
virtual |
Implements Thread.
Definition at line 323 of file log.cc.
References LOG, v8::internal::overflow, Profiler::Remove(), and sample.