Ignore:
Timestamp:
May 22, 2008, 6:03:17 PM (17 years ago)
Author:
[email protected]
Message:

2008-05-22 Kevin McCullough <[email protected]>

Reviewed by Darin.

<rdar://problem/5951529> JSProfiler: Allow the profiler to "Exclude" a
profile node.
-Implement 'exclude'; where the excluded node attributes its time to its
parent's self time.

  • JavaScriptCore.exp: Export the exclude function.
  • profiler/Profile.h: (KJS::Profile::exclude):
  • profiler/ProfileNode.cpp: (KJS::ProfileNode::setTreeVisible): New function that allows a change in visiblitiy to be propogated to all the children of a node. (KJS::ProfileNode::exclude): If the node matches the callIdentifier then set the visiblity of this node and all of its children to false and attribute it's total time to it's caller's self time.
  • profiler/ProfileNode.h:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/JavaScriptCore.exp

    r34028 r34043  
    9292__ZN3KJS11JSImmediate8toStringEPKNS_7JSValueE
    9393__ZN3KJS11ProfileNode5focusERKNS_14CallIdentifierEb
     94__ZN3KJS11ProfileNode7excludeERKNS_14CallIdentifierE
    9495__ZN3KJS11ProfileNode18sortCallsAscendingEv
    9596__ZN3KJS11ProfileNode19sortCallsDescendingEv
Note: See TracChangeset for help on using the changeset viewer.