List of all members.
Detailed Description
Definition at line 39 of file prof2calltree.py.
Constructor & Destructor Documentation
def prof2calltree::Node::__init__ |
( |
|
me, |
|
|
|
fid, |
|
|
|
name |
|
) |
| |
Definition at line 40 of file prof2calltree.py.
00041 :
00042 me.fid = int(fid)
00043 me.name = name
00044 me.ticks_as_parent = 0
00045 me.ticks_as_child = 0
00046 me.ticks_as_parent_recur = 0
00047 me.calls = 0
00048 me.children = {}
Member Function Documentation
def prof2calltree::Node::__str__ |
( |
|
me | ) |
|
Definition at line 63 of file prof2calltree.py.
00064 :
00065 return "(%d,%s,%d,%d,%s)"%(me.fid,me.name,me.ticks_as_parent,me.ticks_as_child,tostring(me.children.keys()))
def prof2calltree::Node::addChild |
( |
|
me, |
|
|
|
child_id |
|
) |
| |
def prof2calltree::Node::childTicks |
( |
|
me, |
|
|
|
count |
|
) |
| |
Definition at line 52 of file prof2calltree.py.
00053 :
00054 c = int(count)
00055 me.ticks_as_parent += c
00056 me.ticks_as_child += c
def prof2calltree::Node::parentTicks |
( |
|
me, |
|
|
|
count |
|
) |
| |
Definition at line 49 of file prof2calltree.py.
00050 :
00051 me.ticks_as_parent += int(count)
def prof2calltree::Node::recurTicks |
( |
|
me, |
|
|
|
count |
|
) |
| |
Definition at line 57 of file prof2calltree.py.
00058 :
00059 me.ticks_as_parent_recur += int(count)