Home
last modified time | relevance | path

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

/external/webkit/JavaScriptCore/profiler/
DProfileNode.h39 class ProfileNode; variable
41 typedef Vector<RefPtr<ProfileNode> >::const_iterator StackIterator;
44 class ProfileNode : public RefCounted<ProfileNode> {
46 …static PassRefPtr<ProfileNode> create(const CallIdentifier& callIdentifier, ProfileNode* headNode,… in create()
48 return adoptRef(new ProfileNode(callIdentifier, headNode, parentNode)); in create()
50 static PassRefPtr<ProfileNode> create(ProfileNode* headNode, ProfileNode* node) in create()
52 return adoptRef(new ProfileNode(headNode, node)); in create()
55 bool operator==(ProfileNode* node) { return m_callIdentifier == node->callIdentifier(); }
57 ProfileNode* willExecute(const CallIdentifier&);
58 ProfileNode* didExecute();
[all …]
DProfileNode.cpp58 ProfileNode::ProfileNode(const CallIdentifier& callIdentifier, ProfileNode* headNode, ProfileNode* … in ProfileNode() function in JSC::ProfileNode
74 ProfileNode::ProfileNode(ProfileNode* headNode, ProfileNode* nodeToCopy) in ProfileNode() function in JSC::ProfileNode
89 ProfileNode* ProfileNode::willExecute(const CallIdentifier& callIdentifier) in willExecute()
98 …RefPtr<ProfileNode> newChild = ProfileNode::create(callIdentifier, m_head ? m_head : this, this); … in willExecute()
105 ProfileNode* ProfileNode::didExecute() in didExecute()
111 void ProfileNode::addChild(PassRefPtr<ProfileNode> prpChild) in addChild()
113 RefPtr<ProfileNode> child = prpChild; in addChild()
120 ProfileNode* ProfileNode::findChild(ProfileNode* node) const in findChild()
133 void ProfileNode::removeChild(ProfileNode* node) in removeChild()
148 void ProfileNode::insertNode(PassRefPtr<ProfileNode> prpNode) in insertNode()
[all …]
DProfile.cpp45 m_head = ProfileNode::create(CallIdentifier("Thread_1", UString(), 0), 0, 0); in Profile()
52 void Profile::forEach(void (ProfileNode::*function)()) in forEach()
54 ProfileNode* currentNode = m_head->firstChild(); in forEach()
55 for (ProfileNode* nextNode = currentNode; nextNode; nextNode = nextNode->firstChild()) in forEach()
61 ProfileNode* endNode = m_head->traverseNextNodePostOrder(); in forEach()
68 void Profile::focus(const ProfileNode* profileNode) in focus()
75 …for (ProfileNode* currentNode = m_head.get(); currentNode; currentNode = currentNode->traverseNext… in focus()
79 forEach(&ProfileNode::calculateVisibleTotalTime); in focus()
82 void Profile::exclude(const ProfileNode* profileNode) in exclude()
89 …for (ProfileNode* currentNode = m_head.get(); currentNode; currentNode = currentNode->traverseNext… in exclude()
[all …]
DProfileGenerator.cpp66 …m_currentNode = ProfileNode::create(Profiler::createCallIdentifier(exec, function ? function.toThi… in addParentForConsoleStart()
103 …RefPtr<ProfileNode> returningNode = ProfileNode::create(callIdentifier, m_head.get(), m_currentNod… in didExecute()
115 m_profile->forEach(&ProfileNode::stopProfiling); in stopProfiling()
127 …RefPtr<ProfileNode> idleNode = ProfileNode::create(CallIdentifier(NonJSExecution, UString(), 0), m… in stopProfiling()
141 ProfileNode* currentNode = 0; in removeProfileStart()
142 for (ProfileNode* next = m_head.get(); next; next = next->firstChild()) in removeProfileStart()
156 ProfileNode* currentNode = 0; in removeProfileEnd()
157 for (ProfileNode* next = m_head.get(); next; next = next->lastChild()) in removeProfileEnd()
DProfile.h42 ProfileNode* head() const { return m_head.get(); } in head()
43 void setHead(PassRefPtr<ProfileNode> head) { m_head = head; } in setHead()
47 void forEach(void (ProfileNode::*)());
49 void focus(const ProfileNode*);
50 void exclude(const ProfileNode*);
66 RefPtr<ProfileNode> m_head;
DProfileGenerator.h38 class ProfileNode; variable
71 RefPtr<ProfileNode> m_head;
72 RefPtr<ProfileNode> m_currentNode;
/external/webkit/WebCore/inspector/
DJavaScriptProfileNode.cpp48 typedef HashMap<ProfileNode*, JSObject*> ProfileNodeMap;
61 ProfileNode* profileNode = static_cast<ProfileNode*>(JSObjectGetPrivate(thisObject)); in getFunctionName()
71 ProfileNode* profileNode = static_cast<ProfileNode*>(JSObjectGetPrivate(thisObject)); in getURL()
81 ProfileNode* profileNode = static_cast<ProfileNode*>(JSObjectGetPrivate(thisObject)); in getLineNumber()
92 ProfileNode* profileNode = static_cast<ProfileNode*>(JSObjectGetPrivate(thisObject)); in getTotalTime()
103 ProfileNode* profileNode = static_cast<ProfileNode*>(JSObjectGetPrivate(thisObject)); in getSelfTime()
114 ProfileNode* profileNode = static_cast<ProfileNode*>(JSObjectGetPrivate(thisObject)); in getNumberOfCalls()
125 ProfileNode* profileNode = static_cast<ProfileNode*>(JSObjectGetPrivate(thisObject)); in getChildren()
126 const Vector<RefPtr<ProfileNode> >& children = profileNode->children(); in getChildren()
155 …for (Vector<RefPtr<ProfileNode> >::const_iterator it = children.begin(); it != children.end(); ++i… in getChildren()
[all …]
DJavaScriptProfileNode.h36 class ProfileNode; variable
42 JSC::JSValue toJS(JSC::ExecState*, JSC::ProfileNode*);
DJavaScriptProfile.cpp101 …profile->focus(static_cast<ProfileNode*>(JSObjectGetPrivate(const_cast<JSObjectRef>(arguments[0]))… in focus()
118 …profile->exclude(static_cast<ProfileNode*>(JSObjectGetPrivate(const_cast<JSObjectRef>(arguments[0]… in exclude()
/external/webkit/JavaScriptCore/
DChangeLog-2008-08-101983 * profiler/ProfileNode.cpp: Set the intital values of time and call
1985 (KJS::ProfileNode::ProfileNode):
2053 * profiler/ProfileNode.cpp:
2054 (KJS::ProfileNode::ProfileNode): Created a constructor to copy
2056 (KJS::ProfileNode::findChild): Added a null check to make HeavyProfile
2058 * profiler/ProfileNode.h: Mostly moved things around but also added some
2060 (KJS::ProfileNode::create):
2061 (KJS::ProfileNode::functionName):
2062 (KJS::ProfileNode::url):
2063 (KJS::ProfileNode::lineNumber):
[all …]
DJavaScriptCore.gypi156 'profiler/ProfileNode.cpp',
157 'profiler/ProfileNode.h',
DAndroid.mk71 profiler/ProfileNode.cpp \
DJavaScriptCore.pri117 profiler/ProfileNode.cpp \
DGNUmakefile.am169 JavaScriptCore/profiler/ProfileNode.cpp \
170 JavaScriptCore/profiler/ProfileNode.h \
DChangeLog-2009-06-16683 * profiler/ProfileNode.cpp:
2442 … debugger/DebuggerCallFrame.cpp: Added calculatedFunctionName to match existing one in ProfileNode.
2444 … * debugger/DebuggerCallFrame.h: Added calculatedFunctionName to match existing one in ProfileNode.
7915 * profiler/ProfileNode.cpp:
7916 * profiler/ProfileNode.h:
36219 * profiler/ProfileNode.cpp:
36220 * profiler/ProfileNode.h:
38476 * profiler/ProfileNode.cpp:
38477 (KJS::ProfileNode::removeChild): Add a better way to remove a child from
38478 a ProfileNode.
[all …]
DChangeLog3364 * profiler/ProfileNode.cpp:
/external/webkit/JavaScriptCore/JavaScriptCore.xcodeproj/
Dproject.pbxproj264 …B83560DA43C3000BC83F3 /* ProfileNode.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 95AB83540D…
405 …18C4510E16F5CD00B34460 /* ProfileNode.h in Headers */ = {isa = PBXBuildFile; fileRef = 95AB83550DA…
825ProfileNode.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp…
826 …/* ProfileNode.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.…
1700 95AB83540DA43B4400BC83F3 /* ProfileNode.cpp */,
1701 95AB83550DA43B4400BC83F3 /* ProfileNode.h */,
1975 BC18C4510E16F5CD00B34460 /* ProfileNode.h in Headers */,
2468 95AB83560DA43C3000BC83F3 /* ProfileNode.cpp in Sources */,
/external/webkit/WebCore/
DChangeLog-2008-08-1018440 (WebCore::getURL): Call ProfileNode::url.
18441 (WebCore::getLineNumber): Call ProfileNode::lineNumber.
18840 Expose the ProfileNode functionName sorting functions on
18846 (WebCore::sortFunctionNameDescending): Call ProfileNode.
18926 Expose the ProfileNode sorting functions on JavaScriptProfileNode.
18931 (WebCore::sortTotalTimeDescending): Call ProfileNode.
20200 - Rename FunctionCallProfile to ProfileNode
20203 …* ForwardingHeaders/profiler/ProfileNode.h: Copied from ForwardingHeaders/profiler/FunctionCallPro…
DChangeLog-2009-06-1620619 * ForwardingHeaders/profiler/ProfileNode.h:
73250 renamed to ProfileNode in r33466.