![]() |
v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
|
Public Member Functions | |
| Profiler (Isolate *isolate) | |
| void | Engage () |
| void | Disengage () |
| void | Insert (TickSample *sample) |
| void | Run () override |
Public Member Functions inherited from v8::base::Thread | |
| Thread (const Options &options) | |
| Thread (const Thread &)=delete | |
| Thread & | operator= (const Thread &)=delete |
| virtual | ~Thread () |
| V8_WARN_UNUSED_RESULT bool | Start () |
| bool | StartSynchronously () |
| void | Join () |
| const char * | name () const |
| PlatformData * | data () |
| Priority | priority () const |
| void | NotifyStartedAndRun () |
Private Member Functions | |
| bool | Remove (TickSample *sample) |
| int | Succ (int index) |
Private Attributes | |
| Isolate * | isolate_ |
| TickSample | buffer_ [kBufferSize] |
| int | head_ |
| base::Atomic32 | tail_ |
| base::Atomic32 | overflow_ |
| base::Semaphore | buffer_semaphore_ |
| base::Atomic32 | running_ |
Static Private Attributes | |
| static const int | kBufferSize = 128 |
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) |
Static Public Attributes inherited from v8::base::Thread | |
| static const int | kMaxThreadNameLength = 16 |
|
explicit |
| void v8::internal::Profiler::Disengage | ( | ) |
| void v8::internal::Profiler::Engage | ( | ) |
|
inline |
|
inlineprivate |
|
overridevirtual |
Implements v8::base::Thread.
Definition at line 1212 of file log.cc.
|
inlineprivate |
|
private |
|
private |
|
staticprivate |
|
private |
|
private |
|
private |