V8 Project
|
#include <profile-generator.h>
Public Member Functions | |
CodeEntry (Logger::LogEventsAndTags tag, const char *name, const char *name_prefix=CodeEntry::kEmptyNamePrefix, const char *resource_name=CodeEntry::kEmptyResourceName, int line_number=v8::CpuProfileNode::kNoLineNumberInfo, int column_number=v8::CpuProfileNode::kNoColumnNumberInfo) | |
~CodeEntry () | |
bool | is_js_function () const |
const char * | name_prefix () const |
bool | has_name_prefix () const |
const char * | name () const |
const char * | resource_name () const |
int | line_number () const |
int | column_number () const |
void | set_shared_id (int shared_id) |
int | script_id () const |
void | set_script_id (int script_id) |
void | set_bailout_reason (const char *bailout_reason) |
const char * | bailout_reason () const |
List< OffsetRange > * | no_frame_ranges () const |
void | set_no_frame_ranges (List< OffsetRange > *ranges) |
void | SetBuiltinId (Builtins::Name id) |
Builtins::Name | builtin_id () const |
uint32_t | GetCallUid () const |
bool | IsSameAs (CodeEntry *entry) const |
Static Public Member Functions | |
static bool | is_js_function_tag (Logger::LogEventsAndTags tag) |
Static Public Attributes | |
static const char *const | kEmptyNamePrefix = "" |
static const char *const | kEmptyResourceName = "" |
static const char *const | kEmptyBailoutReason = "" |
Private Member Functions | |
DISALLOW_COPY_AND_ASSIGN (CodeEntry) | |
Private Attributes | |
Logger::LogEventsAndTags | tag_: 8 |
Builtins::Name | builtin_id_: 8 |
const char * | name_prefix_ |
const char * | name_ |
const char * | resource_name_ |
int | line_number_ |
int | column_number_ |
int | shared_id_ |
int | script_id_ |
List< OffsetRange > * | no_frame_ranges_ |
const char * | bailout_reason_ |
Definition at line 47 of file profile-generator.h.
|
inline |
Definition at line 13 of file profile-generator-inl.h.
v8::internal::CodeEntry::~CodeEntry | ( | ) |
Definition at line 140 of file profile-generator.cc.
References no_frame_ranges_.
|
inline |
Definition at line 71 of file profile-generator.h.
References bailout_reason_.
Referenced by v8::CpuProfileNode::GetBailoutReason(), v8::internal::ProfileNode::Print(), and set_bailout_reason().
|
inline |
Definition at line 81 of file profile-generator.h.
References builtin_id_.
Referenced by v8::internal::ProfileGenerator::RecordTickSample().
|
inline |
|
private |
uint32_t v8::internal::CodeEntry::GetCallUid | ( | ) | const |
Definition at line 145 of file profile-generator.cc.
References v8::internal::ComputeIntegerHash(), v8::internal::kZeroHashSeed, line_number_, name_, name_prefix_, resource_name_, shared_id_, and tag_.
Referenced by v8::internal::ProfileNode::CodeEntryHash().
|
inline |
Definition at line 60 of file profile-generator.h.
References name_prefix_.
Referenced by v8::CpuProfileNode::GetFunctionName().
|
inline |
Definition at line 58 of file profile-generator.h.
References is_js_function_tag(), and tag_.
|
inlinestatic |
Definition at line 32 of file profile-generator-inl.h.
Referenced by is_js_function().
Definition at line 166 of file profile-generator.cc.
References line_number_, name_, name_prefix_, resource_name_, shared_id_, and tag_.
|
inline |
Definition at line 63 of file profile-generator.h.
References line_number_.
Referenced by v8::internal::ProfileNode::Print().
|
inline |
Definition at line 61 of file profile-generator.h.
References name_.
Referenced by v8::internal::CodeMap::CodeTreePrinter::Call(), v8::CpuProfileNode::GetFunctionName(), and v8::internal::ProfileNode::Print().
|
inline |
Definition at line 59 of file profile-generator.h.
References name_prefix_.
Referenced by v8::CpuProfileNode::GetFunctionName(), and v8::internal::ProfileNode::Print().
|
inline |
Definition at line 75 of file profile-generator.h.
References no_frame_ranges_.
Referenced by v8::internal::ProfileGenerator::RecordTickSample().
|
inline |
Definition at line 62 of file profile-generator.h.
References resource_name_.
Referenced by v8::CpuProfileNode::GetScriptResourceName(), and v8::internal::ProfileNode::Print().
|
inline |
Definition at line 66 of file profile-generator.h.
References script_id_.
Referenced by v8::CpuProfileNode::GetScriptId(), v8::internal::ProfileNode::Print(), and set_script_id().
|
inline |
Definition at line 68 of file profile-generator.h.
References bailout_reason(), and bailout_reason_.
Referenced by v8::internal::CpuProfiler::CodeCreateEvent().
|
inline |
Definition at line 76 of file profile-generator.h.
References no_frame_ranges_.
Referenced by v8::internal::CpuProfiler::CodeCreateEvent().
|
inline |
Definition at line 67 of file profile-generator.h.
References script_id(), and script_id_.
Referenced by v8::internal::CpuProfiler::CodeCreateEvent().
|
inline |
void v8::internal::CodeEntry::SetBuiltinId | ( | Builtins::Name | id | ) |
Definition at line 178 of file profile-generator.cc.
References builtin_id_, and tag_.
|
private |
Definition at line 101 of file profile-generator.h.
Referenced by bailout_reason(), and set_bailout_reason().
|
private |
Definition at line 92 of file profile-generator.h.
Referenced by builtin_id(), and SetBuiltinId().
|
private |
Definition at line 97 of file profile-generator.h.
Referenced by column_number().
|
static |
Definition at line 88 of file profile-generator.h.
|
static |
Definition at line 86 of file profile-generator.h.
Referenced by v8::internal::CpuProfiler::CodeCreateEvent().
|
static |
Definition at line 87 of file profile-generator.h.
|
private |
Definition at line 96 of file profile-generator.h.
Referenced by GetCallUid(), IsSameAs(), and line_number().
|
private |
Definition at line 94 of file profile-generator.h.
Referenced by GetCallUid(), IsSameAs(), and name().
|
private |
Definition at line 93 of file profile-generator.h.
Referenced by GetCallUid(), has_name_prefix(), IsSameAs(), and name_prefix().
|
private |
Definition at line 100 of file profile-generator.h.
Referenced by no_frame_ranges(), set_no_frame_ranges(), and ~CodeEntry().
|
private |
Definition at line 95 of file profile-generator.h.
Referenced by GetCallUid(), IsSameAs(), and resource_name().
|
private |
Definition at line 99 of file profile-generator.h.
Referenced by script_id(), and set_script_id().
|
private |
Definition at line 98 of file profile-generator.h.
Referenced by GetCallUid(), IsSameAs(), and set_shared_id().
|
private |
Definition at line 91 of file profile-generator.h.
Referenced by GetCallUid(), is_js_function(), IsSameAs(), and SetBuiltinId().