Home
last modified time | relevance | path

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

/external/v8/src/profiler/
Dprofile-generator.cc146 void ProfileNode::CollectDeoptInfo(CodeEntry* entry) { in CollectDeoptInfo()
152 ProfileNode* ProfileNode::FindChild(CodeEntry* entry) { in FindChild()
155 reinterpret_cast<ProfileNode*>(map_entry->value) : NULL; in FindChild()
159 ProfileNode* ProfileNode::FindOrAddChild(CodeEntry* entry) { in FindOrAddChild()
162 ProfileNode* node = reinterpret_cast<ProfileNode*>(map_entry->value); in FindOrAddChild()
165 node = new ProfileNode(tree_, entry); in FindOrAddChild()
173 void ProfileNode::IncrementLineTicks(int src_line) { in IncrementLineTicks()
184 bool ProfileNode::GetLineTicks(v8::CpuProfileNode::LineTick* entries, in GetLineTicks()
207 void ProfileNode::Print(int indent) { in Print()
235 reinterpret_cast<ProfileNode*>(p->value)->Print(indent + 2); in Print()
[all …]
Dprofile-generator.h137 class ProfileNode {
139 inline ProfileNode(ProfileTree* tree, CodeEntry* entry);
141 ProfileNode* FindChild(CodeEntry* entry);
142 ProfileNode* FindOrAddChild(CodeEntry* entry);
149 const List<ProfileNode*>* children() const { return &children_list_; } in children()
178 List<ProfileNode*> children_list_;
184 DISALLOW_COPY_AND_ASSIGN(ProfileNode);
193 ProfileNode* AddPathFromEnd(
196 ProfileNode* root() const { return root_; } in root()
198 unsigned GetFunctionId(const ProfileNode* node);
[all …]
Dprofile-generator-inl.h33 ProfileNode::ProfileNode(ProfileTree* tree, CodeEntry* entry) in ProfileNode() function
42 inline unsigned ProfileNode::function_id() const { in function_id()
47 inline Isolate* ProfileNode::isolate() const { return tree_->isolate(); } in isolate()
/external/v8/test/cctest/
Dtest-profile-generator.cc43 using i::ProfileNode;
53 ProfileNode* node = tree.root(); in TEST()
55 ProfileNode* childNode1 = node->FindOrAddChild(&entry1); in TEST()
59 ProfileNode* childNode2 = node->FindOrAddChild(&entry2); in TEST()
65 ProfileNode* childNode3 = node->FindOrAddChild(&entry3); in TEST()
79 ProfileNode* node = tree.root(); in TEST()
81 ProfileNode* childNode1 = node->FindOrAddChild(&entry1); in TEST()
100 ProfileNode* Walk(CodeEntry* entry1, in Walk()
103 ProfileNode* node = tree_->root(); in Walk()
139 ProfileNode* node1 = helper.Walk(&entry1); in TEST()
[all …]
Dtest-cpu-profiler.cc46 using i::ProfileNode;
251 const i::List<ProfileNode*>* top_down_root_children = in TEST()
255 const i::List<ProfileNode*>* top_down_bbb_children = in TEST()
259 const i::List<ProfileNode*>* top_down_stub_children = in TEST()
263 const i::List<ProfileNode*>* top_down_ddd_children = in TEST()
316 const ProfileNode* node = profile->top_down()->root(); in TEST()
530 static const ProfileNode* GetSimpleBranch(v8::Local<v8::Context> context, in GetSimpleBranch()
537 return reinterpret_cast<const ProfileNode*>(node); in GetSimpleBranch()
1146 ProfileNode* root = tree->root(); in TEST()
1148 ProfileNode* func_node = root->FindChild(func_entry); in TEST()
[all …]
/external/v8/src/
Dapi.cc7899 const i::ProfileNode* node = reinterpret_cast<const i::ProfileNode*>(this); in GetFunctionName()
7917 const i::ProfileNode* node = reinterpret_cast<const i::ProfileNode*>(this); in GetScriptId()
7924 const i::ProfileNode* node = reinterpret_cast<const i::ProfileNode*>(this); in GetScriptResourceName()
7932 return reinterpret_cast<const i::ProfileNode*>(this)->entry()->line_number(); in GetLineNumber()
7937 return reinterpret_cast<const i::ProfileNode*>(this)-> in GetColumnNumber()
7943 const i::ProfileNode* node = reinterpret_cast<const i::ProfileNode*>(this); in GetHitLineCount()
7950 const i::ProfileNode* node = reinterpret_cast<const i::ProfileNode*>(this); in GetLineTicks()
7956 const i::ProfileNode* node = reinterpret_cast<const i::ProfileNode*>(this); in GetBailoutReason()
7962 return reinterpret_cast<const i::ProfileNode*>(this)->self_ticks(); in GetHitCount()
7967 return reinterpret_cast<const i::ProfileNode*>(this)->function_id(); in GetCallUid()
[all …]