Searched refs:ProfileNode (Results 1 - 16 of 16) sorted by relevance

/external/webkit/Source/WebCore/ForwardingHeaders/profiler/
H A DProfileNode.h3 #include <JavaScriptCore/ProfileNode.h>
/external/webkit/Source/WebCore/bindings/js/
H A DScriptProfileNode.h31 #include <profiler/ProfileNode.h>
35 typedef JSC::ProfileNode ScriptProfileNode;
H A DJSScriptProfileNodeCustom.cpp32 #include <profiler/ProfileNode.h>
49 typedef Vector<RefPtr<ProfileNode> > ProfileNodesList;
H A DScriptProfile.cpp34 #include <profiler/ProfileNode.h>
70 static PassRefPtr<InspectorObject> buildInspectorObjectFor(const JSC::ProfileNode* node)
84 typedef Vector<RefPtr<JSC::ProfileNode> > ProfileNodesList;
/external/webkit/Source/JavaScriptCore/profiler/
H A DProfileNode.h41 class ProfileNode;
43 typedef Vector<RefPtr<ProfileNode> >::const_iterator StackIterator;
46 class ProfileNode : public RefCounted<ProfileNode> { class in namespace:JSC
48 static PassRefPtr<ProfileNode> create(ExecState* callerCallFrame, const CallIdentifier& callIdentifier, ProfileNode* headNode, ProfileNode* parentNode)
50 return adoptRef(new ProfileNode(callerCallFrame, callIdentifier, headNode, parentNode));
52 static PassRefPtr<ProfileNode> create(ExecState* callerCallFrame, ProfileNode* headNod
[all...]
H A DProfileNode.cpp30 #include "ProfileNode.h"
59 ProfileNode::ProfileNode(ExecState* callerCallFrame, const CallIdentifier& callIdentifier, ProfileNode* headNode, ProfileNode* parentNode) function in class:JSC::ProfileNode
76 ProfileNode::ProfileNode(ExecState* callerCallFrame, ProfileNode* headNode, ProfileNode* nodeToCopy) function in class:JSC::ProfileNode
92 ProfileNode* ProfileNod
[all...]
H A DProfile.h29 #include "ProfileNode.h"
42 ProfileNode* head() const { return m_head.get(); }
43 void setHead(PassRefPtr<ProfileNode> head) { m_head = head; }
47 void forEach(void (ProfileNode::*)());
49 void focus(const ProfileNode*);
50 void exclude(const ProfileNode*);
66 RefPtr<ProfileNode> m_head;
H A DProfile.cpp29 #include "ProfileNode.h"
45 m_head = ProfileNode::create(0, CallIdentifier("Thread_1", UString(), 0), 0, 0);
52 void Profile::forEach(void (ProfileNode::*function)()) argument
54 ProfileNode* currentNode = m_head->firstChild();
55 for (ProfileNode* nextNode = currentNode; nextNode; nextNode = nextNode->firstChild())
61 ProfileNode* endNode = m_head->traverseNextNodePostOrder();
68 void Profile::focus(const ProfileNode* profileNode)
75 for (ProfileNode* currentNode = m_head.get(); currentNode; currentNode = currentNode->traverseNextNodePreOrder(processChildren))
79 forEach(&ProfileNode::calculateVisibleTotalTime);
82 void Profile::exclude(const ProfileNode* profileNod
[all...]
H A DProfileGenerator.cpp66 m_currentNode = ProfileNode::create(exec, Profiler::createCallIdentifier(exec, function ? function.toThisObject(exec) : 0, sourceURL, lineNumber), m_head.get(), m_head.get());
103 RefPtr<ProfileNode> returningNode = ProfileNode::create(callerCallFrame, callIdentifier, m_head.get(), m_currentNode.get());
126 m_profile->forEach(&ProfileNode::stopProfiling);
138 RefPtr<ProfileNode> idleNode = ProfileNode::create(0, CallIdentifier(NonJSExecution, UString(), 0), m_head.get(), m_head.get());
152 ProfileNode* currentNode = 0;
153 for (ProfileNode* next = m_head.get(); next; next = next->firstChild())
167 ProfileNode* currentNode = 0;
168 for (ProfileNode* nex
[all...]
H A DProfileGenerator.h39 class ProfileNode;
74 RefPtr<ProfileNode> m_head;
75 RefPtr<ProfileNode> m_currentNode;
/external/v8/src/
H A Dprofile-generator-inl.h72 ProfileNode::ProfileNode(ProfileTree* tree, CodeEntry* entry) function in class:v8::internal::ProfileNode
H A Dprofile-generator.cc216 ProfileNode* ProfileNode::FindChild(CodeEntry* entry) {
220 reinterpret_cast<ProfileNode*>(map_entry->value) : NULL;
224 ProfileNode* ProfileNode::FindOrAddChild(CodeEntry* entry) {
229 ProfileNode* new_node = new ProfileNode(tree_, entry);
233 return reinterpret_cast<ProfileNode*>(map_entry->value);
237 double ProfileNode::GetSelfMillis() const {
242 double ProfileNode
[all...]
H A Dprofile-generator.h137 class ProfileNode { class in namespace:v8::internal
139 INLINE(ProfileNode(ProfileTree* tree, CodeEntry* entry));
141 ProfileNode* FindChild(CodeEntry* entry);
142 ProfileNode* FindOrAddChild(CodeEntry* entry);
150 INLINE(const List<ProfileNode*>* children() const) { return &children_list_; }
170 // Mapping from CodeEntry* to ProfileNode*
172 List<ProfileNode*> children_list_;
174 DISALLOW_COPY_AND_ASSIGN(ProfileNode);
191 ProfileNode* root() const { return root_; }
204 ProfileNode* root
[all...]
H A Dapi.cc5776 const i::ProfileNode* node = reinterpret_cast<const i::ProfileNode*>(this);
5792 const i::ProfileNode* node = reinterpret_cast<const i::ProfileNode*>(this);
5801 return reinterpret_cast<const i::ProfileNode*>(this)->entry()->line_number();
5808 return reinterpret_cast<const i::ProfileNode*>(this)->GetTotalMillis();
5815 return reinterpret_cast<const i::ProfileNode*>(this)->GetSelfMillis();
5822 return reinterpret_cast<const i::ProfileNode*>(this)->total_ticks();
5829 return reinterpret_cast<const i::ProfileNode*>(this)->self_ticks();
5836 return reinterpret_cast<const i::ProfileNode*>(thi
[all...]
/external/v8/test/cctest/
H A Dtest-profile-generator.cc15 using i::ProfileNode;
63 ProfileNode node(NULL, NULL);
66 ProfileNode* childNode1 = node.FindOrAddChild(&entry1);
71 ProfileNode* childNode2 = node.FindOrAddChild(&entry2);
78 ProfileNode* childNode3 = node.FindOrAddChild(&entry3);
91 ProfileNode node(NULL, NULL);
94 ProfileNode* childNode1 = node.FindOrAddChild(&entry1);
115 ProfileNode* Walk(CodeEntry* entry1,
118 ProfileNode* node = tree_->root();
155 ProfileNode* node
[all...]
H A Dtest-cpu-profiler.cc15 using i::ProfileNode;
171 const i::List<ProfileNode*>* top_down_root_children =
175 const i::List<ProfileNode*>* top_down_bbb_children =
179 const i::List<ProfileNode*>* top_down_stub_children =
183 const i::List<ProfileNode*>* top_down_ddd_children =
187 const i::List<ProfileNode*>* bottom_up_root_children_unsorted =
190 i::List<ProfileNode*> bottom_up_root_children(3);
196 const i::List<ProfileNode*>* bottom_up_stub_children =
200 const i::List<ProfileNode*>* bottom_up_bbb_children =
203 const i::List<ProfileNode*>* bottom_up_ddd_childre
[all...]

Completed in 391 milliseconds