![]() |
v8
3.25.30(node0.11.13)
V8 is Google's open source JavaScript engine
|
#include <profile-generator.h>
Public Member Functions | |
| ProfileNode (ProfileTree *tree, CodeEntry *entry) | |
| ProfileNode * | FindChild (CodeEntry *entry) |
| ProfileNode * | FindOrAddChild (CodeEntry *entry) |
| void | IncrementSelfTicks () |
| void | IncreaseSelfTicks (unsigned amount) |
| CodeEntry * | entry () const |
| unsigned | self_ticks () const |
| const List< ProfileNode * > * | children () const |
| unsigned | id () const |
| void | Print (int indent) |
Definition at line 133 of file profile-generator.h.
|
inline |
Definition at line 65 of file profile-generator-inl.h.
Referenced by ProfileNode::FindOrAddChild().
|
inline |
Definition at line 144 of file profile-generator.h.
Referenced by Position::INLINE().
|
inline |
Definition at line 142 of file profile-generator.h.
Referenced by CpuProfileNode::GetBailoutReason(), CpuProfileNode::GetFunctionName(), CpuProfileNode::GetScriptId(), and CpuProfileNode::GetScriptResourceName().
| ProfileNode * FindChild | ( | CodeEntry * | entry | ) |
Definition at line 212 of file profile-generator.cc.
References TemplateHashMapImpl< AllocationPolicy >::Lookup(), and v8::internal::NULL.
| ProfileNode * FindOrAddChild | ( | CodeEntry * | entry | ) |
Definition at line 220 of file profile-generator.cc.
References TemplateHashMapImpl< AllocationPolicy >::Lookup(), v8::internal::NULL, and ProfileNode::ProfileNode().
Referenced by ProfileTree::AddPathFromEnd(), and ProfileTree::AddPathFromStart().
|
inline |
Definition at line 145 of file profile-generator.h.
Referenced by ProfileNode::Print().
|
inline |
Definition at line 140 of file profile-generator.h.
|
inline |
Definition at line 139 of file profile-generator.h.
Referenced by ProfileTree::AddPathFromEnd(), and ProfileTree::AddPathFromStart().
| void Print | ( | int | indent | ) |
Definition at line 233 of file profile-generator.cc.
References CodeEntry::bailout_reason(), ProfileNode::id(), CodeEntry::line_number(), CodeEntry::name(), CodeEntry::name_prefix(), TemplateHashMapImpl< AllocationPolicy >::Next(), v8::internal::NULL, OS::Print(), CodeEntry::resource_name(), CodeEntry::script_id(), and TemplateHashMapImpl< AllocationPolicy >::Start().
Referenced by ProfileTree::Print().
|
inline |
Definition at line 143 of file profile-generator.h.