V8 Project
|
#include <profile-generator.h>
Public Member Functions | |
ProfileGenerator (CpuProfilesCollection *profiles) | |
void | RecordTickSample (const TickSample &sample) |
CodeMap * | code_map () |
Static Public Attributes | |
static const char *const | kProgramEntryName |
static const char *const | kIdleEntryName |
static const char *const | kGarbageCollectorEntryName |
static const char *const | kUnresolvedFunctionName |
Private Member Functions | |
CodeEntry * | EntryForVMState (StateTag tag) |
DISALLOW_COPY_AND_ASSIGN (ProfileGenerator) | |
Private Attributes | |
CpuProfilesCollection * | profiles_ |
CodeMap | code_map_ |
CodeEntry * | program_entry_ |
CodeEntry * | idle_entry_ |
CodeEntry * | gc_entry_ |
CodeEntry * | unresolved_entry_ |
Definition at line 307 of file profile-generator.h.
|
explicit |
Definition at line 560 of file profile-generator.cc.
|
inline |
|
private |
Definition at line 651 of file profile-generator.cc.
References v8::internal::COMPILER, v8::internal::EXTERNAL, v8::internal::GC, gc_entry_, v8::internal::IDLE, idle_entry_, v8::internal::JS, NULL, v8::internal::OTHER, and program_entry_.
Referenced by RecordTickSample().
void v8::internal::ProfileGenerator::RecordTickSample | ( | const TickSample & | sample | ) |
Definition at line 575 of file profile-generator.cc.
References v8::internal::CpuProfilesCollection::AddPathToCurrentProfiles(), v8::internal::List< T, AllocationPolicy >::at(), v8::internal::CodeEntry::builtin_id(), code_map_, EntryForVMState(), v8::internal::EXTERNAL, v8::internal::TickSample::external_callback, v8::internal::CodeMap::FindEntry(), v8::internal::TickSample::frames_count, v8::internal::OffsetRange::from, v8::internal::HeapObject::FromAddress(), v8::internal::TickSample::has_external_callback, v8::internal::Code::instruction_start(), v8::internal::Vector< T >::length(), v8::internal::CodeEntry::no_frame_ranges(), NULL, v8::internal::TickSample::pc, profiles_, v8::internal::TickSample::stack, v8::internal::Vector< T >::start(), v8::internal::TickSample::state, v8::internal::TickSample::timestamp, v8::internal::OffsetRange::to, v8::internal::TickSample::top_frame_type, and unresolved_entry_.
Referenced by v8::internal::ProfilerEventsProcessor::ProcessOneSample().
|
private |
Definition at line 326 of file profile-generator.h.
Referenced by code_map(), and RecordTickSample().
|
private |
Definition at line 329 of file profile-generator.h.
Referenced by EntryForVMState().
|
private |
Definition at line 328 of file profile-generator.h.
Referenced by EntryForVMState().
|
static |
Definition at line 317 of file profile-generator.h.
|
static |
Definition at line 316 of file profile-generator.h.
|
static |
Definition at line 315 of file profile-generator.h.
|
static |
Definition at line 320 of file profile-generator.h.
|
private |
Definition at line 325 of file profile-generator.h.
Referenced by RecordTickSample().
|
private |
Definition at line 327 of file profile-generator.h.
Referenced by EntryForVMState().
|
private |
Definition at line 330 of file profile-generator.h.
Referenced by RecordTickSample().