CMS 3D CMS Logo

prof2calltree::Node Class Reference

List of all members.

Public Member Functions

def __init__
def __str__
def addChild
def childTicks
def parentTicks
def recurTicks


Detailed Description

Definition at line 39 of file prof2calltree.py.


Member Function Documentation

def prof2calltree::Node::__init__ (   me,
  fid,
  name 
)

Definition at line 40 of file prof2calltree.py.

00040                              :
00041         me.fid = int(fid)
00042         me.name = name
00043         me.ticks_as_parent = 0
00044         me.ticks_as_child = 0
00045         me.ticks_as_parent_recur = 0
00046         me.calls = 0
00047         me.children = {} # set() - want to use set, but not until 2.4
00048 
    def parentTicks(me,count):

def prof2calltree::Node::__str__ (   me  ) 

Definition at line 63 of file prof2calltree.py.

00063                    :
00064         return "(%d,%s,%d,%d,%s)"%(me.fid,me.name,me.ticks_as_parent,me.ticks_as_child,tostring(me.children.keys()))
00065 
class EdgeCount:

def prof2calltree::Node::addChild (   me,
  child_id 
)

Definition at line 60 of file prof2calltree.py.

00060                              :
00061         me.children[child_id]=0  # .add(child_id) -cannot use set functions yet
00062 
    def __str__(me):

def prof2calltree::Node::childTicks (   me,
  count 
)

Definition at line 52 of file prof2calltree.py.

00052                             :
00053         c = int(count)
00054         me.ticks_as_parent += c
00055         me.ticks_as_child += c
00056         
    def recurTicks(me,count):

def prof2calltree::Node::parentTicks (   me,
  count 
)

Definition at line 49 of file prof2calltree.py.

00049                              :
00050         me.ticks_as_parent += int(count)
00051     
    def childTicks(me,count):

def prof2calltree::Node::recurTicks (   me,
  count 
)

Definition at line 57 of file prof2calltree.py.

00057                             :
00058         me.ticks_as_parent_recur += int(count)
00059 
    def addChild(me,child_id):


The documentation for this class was generated from the following file:
Generated on Tue Jun 9 18:50:38 2009 for CMSSW by  doxygen 1.5.4