Home
last modified time | relevance | path

Searched refs:ProfileNode (Results 1 – 6 of 6) sorted by relevance

/external/v8/src/
Dprofile-generator.cc184 ProfileNode* ProfileNode::FindChild(CodeEntry* entry) { in FindChild()
188 reinterpret_cast<ProfileNode*>(map_entry->value) : NULL; in FindChild()
192 ProfileNode* ProfileNode::FindOrAddChild(CodeEntry* entry) { in FindOrAddChild()
197 ProfileNode* new_node = new ProfileNode(tree_, entry); in FindOrAddChild()
201 return reinterpret_cast<ProfileNode*>(map_entry->value); in FindOrAddChild()
205 void ProfileNode::Print(int indent) { in Print()
215 reinterpret_cast<ProfileNode*>(p->value)->Print(indent + 2); in Print()
222 void BeforeTraversingChild(ProfileNode*, ProfileNode*) { } in BeforeTraversingChild() argument
224 void AfterAllChildrenTraversed(ProfileNode* node) { in AfterAllChildrenTraversed()
228 void AfterChildTraversed(ProfileNode*, ProfileNode*) { } in AfterChildTraversed() argument
[all …]
Dprofile-generator.h109 class ProfileNode {
111 inline ProfileNode(ProfileTree* tree, CodeEntry* entry);
113 ProfileNode* FindChild(CodeEntry* entry);
114 ProfileNode* FindOrAddChild(CodeEntry* entry);
120 const List<ProfileNode*>* children() const { return &children_list_; } in children()
140 List<ProfileNode*> children_list_;
143 DISALLOW_COPY_AND_ASSIGN(ProfileNode);
152 ProfileNode* AddPathFromEnd(const Vector<CodeEntry*>& path);
154 ProfileNode* root() const { return root_; } in root()
167 ProfileNode* root_;
[all …]
Dprofile-generator-inl.h42 ProfileNode::ProfileNode(ProfileTree* tree, CodeEntry* entry) in ProfileNode() function
Dapi.cc7017 const i::ProfileNode* node = reinterpret_cast<const i::ProfileNode*>(this); in GetFunctionName()
7034 const i::ProfileNode* node = reinterpret_cast<const i::ProfileNode*>(this); in GetScriptId()
7042 const i::ProfileNode* node = reinterpret_cast<const i::ProfileNode*>(this); in GetScriptResourceName()
7049 return reinterpret_cast<const i::ProfileNode*>(this)->entry()->line_number(); in GetLineNumber()
7054 return reinterpret_cast<const i::ProfileNode*>(this)-> in GetColumnNumber()
7060 const i::ProfileNode* node = reinterpret_cast<const i::ProfileNode*>(this); in GetBailoutReason()
7066 return reinterpret_cast<const i::ProfileNode*>(this)->self_ticks(); in GetHitCount()
7071 return reinterpret_cast<const i::ProfileNode*>(this)->entry()->GetCallUid(); in GetCallUid()
7076 return reinterpret_cast<const i::ProfileNode*>(this)->id(); in GetNodeId()
7081 return reinterpret_cast<const i::ProfileNode*>(this)->children()->length(); in GetChildrenCount()
[all …]
/external/v8/test/cctest/
Dtest-profile-generator.cc43 using i::ProfileNode;
52 ProfileNode* node = tree.root(); in TEST()
54 ProfileNode* childNode1 = node->FindOrAddChild(&entry1); in TEST()
58 ProfileNode* childNode2 = node->FindOrAddChild(&entry2); in TEST()
64 ProfileNode* childNode3 = node->FindOrAddChild(&entry3); in TEST()
77 ProfileNode* node = tree.root(); in TEST()
79 ProfileNode* childNode1 = node->FindOrAddChild(&entry1); in TEST()
98 ProfileNode* Walk(CodeEntry* entry1, in Walk()
101 ProfileNode* node = tree_->root(); in Walk()
135 ProfileNode* node1 = helper.Walk(&entry1); in TEST()
[all …]
Dtest-cpu-profiler.cc45 using i::ProfileNode;
230 const i::List<ProfileNode*>* top_down_root_children = in TEST()
234 const i::List<ProfileNode*>* top_down_bbb_children = in TEST()
238 const i::List<ProfileNode*>* top_down_stub_children = in TEST()
242 const i::List<ProfileNode*>* top_down_ddd_children = in TEST()
295 const ProfileNode* node = profile->top_down()->root(); in TEST()
1628 reinterpret_cast<ProfileNode*>( in TEST()