org.jruby.runtime.profile
Class Invocation

java.lang.Object
  extended by org.jruby.runtime.profile.Invocation

public class Invocation
extends java.lang.Object


Constructor Summary
Invocation(int serial)
           
Invocation(Invocation parent, int serial)
           
Invocation(Invocation parent, int serial, IntHashMap<Invocation> children)
           
 
Method Summary
 void addChild(Invocation child)
           
 void addDuration(long d)
           
 Invocation childInvocationFor(int serial)
           
 long childTime()
           
 Invocation copyWithNewSerialAndParent(int serial, Invocation newParent)
           
 IntHashMap<Invocation> getChildren()
           
 int getCount()
           
 long getDuration()
           
 int getMethodSerialNumber()
           
 Invocation getParent()
           
 int getRecursiveDepth()
           
 void incrementCount()
           
 long selfTime()
           
 void setCount(int c)
           
 void setDuration(long d)
           
 void setParent(Invocation p)
           
 void setRecursiveDepth(int d)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Invocation

public Invocation(int serial)

Invocation

public Invocation(Invocation parent,
                  int serial)

Invocation

public Invocation(Invocation parent,
                  int serial,
                  IntHashMap<Invocation> children)
Method Detail

getMethodSerialNumber

public int getMethodSerialNumber()

getRecursiveDepth

public int getRecursiveDepth()

setRecursiveDepth

public void setRecursiveDepth(int d)

getParent

public Invocation getParent()

setParent

public void setParent(Invocation p)

getChildren

public IntHashMap<Invocation> getChildren()

getDuration

public long getDuration()

setDuration

public void setDuration(long d)

addDuration

public void addDuration(long d)

getCount

public int getCount()

setCount

public void setCount(int c)

incrementCount

public void incrementCount()

childInvocationFor

public Invocation childInvocationFor(int serial)

copyWithNewSerialAndParent

public Invocation copyWithNewSerialAndParent(int serial,
                                             Invocation newParent)

addChild

public void addChild(Invocation child)

childTime

public long childTime()

selfTime

public long selfTime()


Copyright © 2002-2009 JRuby Team. All Rights Reserved.