|
V8 Project
|
#include <sampler.h>
Collaboration diagram for v8::internal::TickSample:Public Member Functions | |
| TickSample () | |
| void | Init (Isolate *isolate, const RegisterState &state) |
Public Attributes | |
| StateTag | state |
| Address | pc |
| union { | |
| Address tos | |
| Address external_callback | |
| }; | |
| Address | stack [kMaxFramesCount] |
| base::TimeTicks | timestamp |
| unsigned | frames_count: kMaxFramesCountLog2 |
| bool | has_external_callback: 1 |
| StackFrame::Type | top_frame_type: 4 |
Static Public Attributes | |
| static const unsigned | kMaxFramesCountLog2 = 8 |
| static const unsigned | kMaxFramesCount = (1 << kMaxFramesCountLog2) - 1 |
|
inline |
Definition at line 33 of file sampler.h.
| DISABLE_ASAN void v8::internal::TickSample::Init | ( | Isolate * | isolate, |
| const RegisterState & | state | ||
| ) |
Definition at line 579 of file sampler.cc.
References v8::internal::Memory::Address_at(), v8::internal::SafeStackFrameIterator::Advance(), DCHECK, external_callback, v8::internal::RegisterState::fp, v8::internal::SafeStackFrameIterator::frame(), frames_count, v8::internal::GC, v8::internal::Isolate::handler(), has_external_callback, v8::internal::Isolate::IsInitialized(), v8::internal::Isolate::js_entry_sp(), kMaxFramesCount, v8::internal::RegisterState::pc, pc, v8::internal::RegisterState::sp, stack, state, v8::internal::Isolate::thread_local_top(), timestamp, v8::internal::SafeStackFrameIterator::top_frame_type(), top_frame_type, and tos.
Referenced by v8::internal::ProfilerEventsProcessor::AddCurrentStack(), and v8::internal::Sampler::SampleStack().
Here is the call graph for this function:
Here is the caller graph for this function:| union { ... } |
| Address v8::internal::TickSample::external_callback |
Definition at line 45 of file sampler.h.
Referenced by Init(), v8::internal::ProfileGenerator::RecordTickSample(), and v8::internal::Logger::TickEvent().
| unsigned v8::internal::TickSample::frames_count |
Definition at line 51 of file sampler.h.
Referenced by Init(), v8::internal::ProfileGenerator::RecordTickSample(), and v8::internal::Logger::TickEvent().
| bool v8::internal::TickSample::has_external_callback |
Definition at line 52 of file sampler.h.
Referenced by Init(), v8::internal::ProfileGenerator::RecordTickSample(), and v8::internal::Logger::TickEvent().
|
static |
|
static |
| Address v8::internal::TickSample::pc |
Definition at line 42 of file sampler.h.
Referenced by Init(), v8::internal::ProfileGenerator::RecordTickSample(), and v8::internal::Logger::TickEvent().
| Address v8::internal::TickSample::stack[kMaxFramesCount] |
Definition at line 49 of file sampler.h.
Referenced by Init(), v8::internal::ProfileGenerator::RecordTickSample(), and v8::internal::Logger::TickEvent().
| StateTag v8::internal::TickSample::state |
Definition at line 41 of file sampler.h.
Referenced by Init(), v8::internal::ProfileGenerator::RecordTickSample(), v8::internal::Sampler::SampleStack(), and v8::internal::Logger::TickEvent().
| base::TimeTicks v8::internal::TickSample::timestamp |
Definition at line 50 of file sampler.h.
Referenced by Init(), and v8::internal::ProfileGenerator::RecordTickSample().
| StackFrame::Type v8::internal::TickSample::top_frame_type |
Definition at line 53 of file sampler.h.
Referenced by Init(), and v8::internal::ProfileGenerator::RecordTickSample().
| Address v8::internal::TickSample::tos |
Definition at line 44 of file sampler.h.
Referenced by Init(), and v8::internal::Logger::TickEvent().