|
V8 Project
|
#include <profile-generator.h>
Collaboration diagram for v8::internal::ProfileTree:Public Member Functions | |
| ProfileTree () | |
| ~ProfileTree () | |
| ProfileNode * | AddPathFromEnd (const Vector< CodeEntry * > &path) |
| void | AddPathFromStart (const Vector< CodeEntry * > &path) |
| ProfileNode * | root () const |
| unsigned | next_node_id () |
| void | Print () |
Private Member Functions | |
| template<typename Callback > | |
| void | TraverseDepthFirst (Callback *callback) |
| DISALLOW_COPY_AND_ASSIGN (ProfileTree) | |
Private Attributes | |
| CodeEntry | root_entry_ |
| unsigned | next_node_id_ |
| ProfileNode * | root_ |
Definition at line 147 of file profile-generator.h.
| v8::internal::ProfileTree::ProfileTree | ( | ) |
Definition at line 232 of file profile-generator.cc.
| v8::internal::ProfileTree::~ProfileTree | ( | ) |
Definition at line 239 of file profile-generator.cc.
References TraverseDepthFirst().
Here is the call graph for this function:| ProfileNode * v8::internal::ProfileTree::AddPathFromEnd | ( | const Vector< CodeEntry * > & | path | ) |
Definition at line 245 of file profile-generator.cc.
References v8::internal::ProfileNode::FindOrAddChild(), v8::internal::ProfileNode::IncrementSelfTicks(), v8::internal::Vector< T >::length(), NULL, root_, and v8::internal::Vector< T >::start().
Referenced by v8::internal::CpuProfile::AddPath().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 259 of file profile-generator.cc.
References v8::internal::ProfileNode::FindOrAddChild(), v8::internal::ProfileNode::IncrementSelfTicks(), v8::internal::Vector< T >::length(), NULL, root_, and v8::internal::Vector< T >::start().
Here is the call graph for this function:
|
private |
|
inline |
|
inline |
Definition at line 157 of file profile-generator.h.
References v8::internal::ProfileNode::Print(), and root_.
Referenced by v8::internal::CpuProfile::Print().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 154 of file profile-generator.h.
References root_.
Referenced by v8::CpuProfile::GetTopDownRoot().
Here is the caller graph for this function:
|
private |
Definition at line 300 of file profile-generator.cc.
References v8::internal::List< T, AllocationPolicy >::Add(), v8::internal::List< T, AllocationPolicy >::last(), v8::internal::Position::node, and root_.
Referenced by ~ProfileTree().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 166 of file profile-generator.h.
Referenced by next_node_id().
|
private |
Definition at line 167 of file profile-generator.h.
Referenced by AddPathFromEnd(), AddPathFromStart(), Print(), root(), and TraverseDepthFirst().
|
private |
Definition at line 165 of file profile-generator.h.