![]() |
v8
3.25.30(node0.11.13)
V8 is Google's open source JavaScript engine
|
#include <sampler.h>
Public Member Functions | |
| TickSample () | |
| void | Init (Isolate *isolate, const RegisterState &state) |
Data Fields | |
| StateTag | state |
| Address | pc |
| union { | |
| Address tos | |
| Address external_callback | |
| }; | |
| Address | stack [kMaxFramesCount] |
| int | frames_count: 8 |
| bool | has_external_callback: 1 |
| StackFrame::Type | top_frame_type: 4 |
Static Public Attributes | |
| static const int | kMaxFramesCount = 64 |
|
inline |
| DISABLE_ASAN void Init | ( | Isolate * | isolate, |
| const RegisterState & | state | ||
| ) |
Definition at line 589 of file sampler.cc.
References Memory::Address_at(), SafeStackFrameIterator::Advance(), ASSERT, TickSample::external_callback, RegisterState::fp, SafeStackFrameIterator::frame(), TickSample::frames_count, v8::internal::GC, Isolate::handler(), TickSample::has_external_callback, Isolate::IsInitialized(), Isolate::js_entry_sp(), TickSample::kMaxFramesCount, RegisterState::pc, TickSample::pc, RegisterState::sp, TickSample::stack, Isolate::thread_local_top(), TickSample::top_frame_type, SafeStackFrameIterator::top_frame_type(), and TickSample::tos.
Referenced by ProfilerEventsProcessor::AddCurrentStack(), and Sampler::SampleStack().
| union { ... } |
| Address external_callback |
Definition at line 68 of file sampler.h.
Referenced by TickSample::Init(), ProfileGenerator::RecordTickSample(), and TEST().
| int frames_count |
Definition at line 72 of file sampler.h.
Referenced by TickSample::Init(), ProfileGenerator::RecordTickSample(), and TEST().
| bool has_external_callback |
Definition at line 73 of file sampler.h.
Referenced by TickSample::Init(), ProfileGenerator::RecordTickSample(), and TEST().
|
static |
Definition at line 70 of file sampler.h.
Referenced by TickSample::Init(), and TEST().
| Address pc |
Definition at line 65 of file sampler.h.
Referenced by TickSample::Init(), ProfileGenerator::RecordTickSample(), and TEST().
| Address stack[kMaxFramesCount] |
Definition at line 71 of file sampler.h.
Referenced by TickSample::Init(), ProfileGenerator::RecordTickSample(), and TEST().
| StateTag state |
Definition at line 64 of file sampler.h.
Referenced by ProfileGenerator::RecordTickSample(), and Sampler::SampleStack().
| StackFrame::Type top_frame_type |
Definition at line 74 of file sampler.h.
Referenced by TickSample::Init(), and ProfileGenerator::RecordTickSample().
| Address tos |
Definition at line 67 of file sampler.h.
Referenced by TickSample::Init(), and TEST().