![]() |
v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
|
Public Member Functions | |
| Ticker (Isolate *isolate, int interval_microseconds) | |
| ~Ticker () override | |
| void | SetProfiler (Profiler *profiler) |
| void | ClearProfiler () |
| void | SampleStack (const v8::RegisterState &state) override |
Public Member Functions inherited from v8::sampler::Sampler | |
| Sampler (Isolate *isolate) | |
| virtual | ~Sampler () |
| Isolate * | isolate () const |
| void | Start () |
| void | Stop () |
| bool | IsActive () const |
| bool | ShouldRecordSample () |
| void | DoSample () |
| unsigned | js_sample_count () const |
| unsigned | external_sample_count () const |
| void | StartCountingSamples () |
| PlatformData * | platform_data () const |
Private Attributes | |
| Profiler * | profiler_ = nullptr |
| std::unique_ptr< SamplingThread > | sampling_thread_ |
| Isolate::PerIsolateThreadData * | perThreadData_ |
Additional Inherited Members | |
Static Public Attributes inherited from v8::sampler::Sampler | |
| static const int | kMaxFramesCountLog2 = 8 |
| static const unsigned | kMaxFramesCount = (1u << kMaxFramesCountLog2) - 1 |
Protected Member Functions inherited from v8::sampler::Sampler | |
| void | SetActive (bool value) |
| void | SetShouldRecordSample () |
| DISALLOW_IMPLICIT_CONSTRUCTORS (Sampler) | |
Protected Attributes inherited from v8::sampler::Sampler | |
| bool | is_counting_samples_ = false |
| unsigned | js_sample_count_ = 0 |
| unsigned | external_sample_count_ = 0 |
| Isolate * | isolate_ |
| std::atomic_bool | active_ {false} |
| std::atomic_bool | record_sample_ {false} |
| std::unique_ptr< PlatformData > | data_ |
|
inline |
|
inlineoverride |
|
inline |
|
inlineoverridevirtual |
Implements v8::sampler::Sampler.
Definition at line 1142 of file log.cc.
|
inline |
|
private |
|
private |