|
Class: ProfileTree
Object
|
+--ProfileTree
- Package:
- stx:libbasic3
- Category:
- System-Debugging-Support
- Version:
- rev:
1.22
date: 2016/09/30 14:45:54
- user: stefan
- file: ProfileTree.st directory: libbasic3
- module: stx stc-classLibrary: libbasic3
- Author:
- Claus Gittinger
This is is used as a companion to MessageTally.
Instances of it are used to represent a calling chain.
(MessageTally could have used the contexts themself, but these
may create more overhead)
MessageTally
CallChain
MessageTracer
AbstractTime
accessing
-
called
-
return the trees of the called methods/blocks
-
called: aCollection
-
set the trees of the called methods/blocks
-
isBlock
-
return true, if this is a tree for a block-context
-
leafTally
-
return true, if this is a leaf
-
method ( an extension from the stx:libtool package )
-
-
methodClass
-
return the contexts methods class
-
package ( an extension from the stx:libtool package )
-
-
receiver
-
return the contexts receiver
-
receiver: r selector: s class: cls isBlock: blk
-
private tally interface - set receiver, selector, class
and the block flag.
-
selector
-
return the contexts selector
-
totalTally
-
return the total tally counter
adding info
-
addChain: aCallChain
-
merge a chain into the receiver's tree
-
computePercentage: total
-
compute percentages
-
incrementLeafTally
-
count as leaf
-
incrementTotalAndLeafTally
-
count as leaf and total
-
incrementTotalTally
-
count
-
leafTally: aCount
-
set the leafTally count
-
totalTally: aCount
-
set the totalTally count
prettyPrinting
-
printLeafsOn: aStream
-
print all leafNodes statistics on aStream
-
printMethodLeafsOn: aStream
-
print all method leafNodes statistics on aStream
-
printOn: aStream
-
print statistics on aStream
usage example(s):
self printOn:aStream indent:0
|
-
printOn: aStream indent: i
-
print statistics indented on aStream
-
printSingleLeafOn: aStream
-
print a single nodes statistic on aStream
-
printSingleMethodLeafOn: aStream
-
print a single nodes statistic on aStream
-
printSingleOn: aStream
-
print a single nodes statistic on aStream
private
-
= aProfileTreeNode
-
return true, if the argument tree is for the same method invocation
-
addLeafNodesTo: aCollection
-
add all leaf nodes to aCollection
-
addMethodLeafNodesTo: aCollection
-
add all method leaf nodes to aCollection
-
hash
-
return true, if the argument tree is for the same method invocation
-
sameMethodAsIn: aProfileTreeNode
-
return true, if the argument tree is for the same method invocation
|