v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8::internal::SamplingThread Class Reference
Inheritance diagram for v8::internal::SamplingThread:
Collaboration diagram for v8::internal::SamplingThread:

Public Member Functions

 SamplingThread (sampler::Sampler *sampler, int interval_microseconds)
 
void Run () override
 
- Public Member Functions inherited from v8::base::Thread
 Thread (const Options &options)
 
 Thread (const Thread &)=delete
 
Threadoperator= (const Thread &)=delete
 
virtual ~Thread ()
 
V8_WARN_UNUSED_RESULT bool Start ()
 
bool StartSynchronously ()
 
void Join ()
 
const char * name () const
 
PlatformDatadata ()
 
Priority priority () const
 
void NotifyStartedAndRun ()
 

Static Public Attributes

static const int kSamplingThreadStackSize = 64 * KB
 
- Static Public Attributes inherited from v8::base::Thread
static const int kMaxThreadNameLength = 16
 

Private Attributes

sampler::Samplersampler_
 
const int interval_microseconds_
 

Additional Inherited Members

- Public Types inherited from v8::base::Thread
enum class  Priority { kBestEffort , kUserVisible , kUserBlocking , kDefault }
 
using LocalStorageKey = int32_t
 
- Static Public Member Functions inherited from v8::base::Thread
static LocalStorageKey CreateThreadLocalKey ()
 
static void DeleteThreadLocalKey (LocalStorageKey key)
 
static void * GetThreadLocal (LocalStorageKey key)
 
static void SetThreadLocal (LocalStorageKey key, void *value)
 
static bool HasThreadLocal (LocalStorageKey key)
 
static void * GetExistingThreadLocal (LocalStorageKey key)
 

Detailed Description

Definition at line 1028 of file log.cc.

Constructor & Destructor Documentation

◆ SamplingThread()

v8::internal::SamplingThread::SamplingThread ( sampler::Sampler * sampler,
int interval_microseconds )
inline

Definition at line 1032 of file log.cc.

Member Function Documentation

◆ Run()

void v8::internal::SamplingThread::Run ( )
inlineoverridevirtual

Implements v8::base::Thread.

Definition at line 1038 of file log.cc.

Here is the call graph for this function:

Member Data Documentation

◆ interval_microseconds_

const int v8::internal::SamplingThread::interval_microseconds_
private

Definition at line 1048 of file log.cc.

◆ kSamplingThreadStackSize

const int v8::internal::SamplingThread::kSamplingThreadStackSize = 64 * KB
static

Definition at line 1030 of file log.cc.

◆ sampler_

sampler::Sampler* v8::internal::SamplingThread::sampler_
private

Definition at line 1047 of file log.cc.


The documentation for this class was generated from the following file: