com.threerings.presents.server
Class PresentsDObjectMgr.UnitProfile

java.lang.Object
  extended by com.threerings.presents.server.PresentsDObjectMgr.UnitProfile
Enclosing class:
PresentsDObjectMgr

protected static class PresentsDObjectMgr.UnitProfile
extends Object

Used to profile time spent invoking units and processing events if such profiling is enabled.


Field Summary
protected  Histogram _histo
           
protected  long _longest
           
protected  long _totalElapsed
           
 
Constructor Summary
protected PresentsDObjectMgr.UnitProfile()
           
 
Method Summary
 void record(long elapsed)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_totalElapsed

protected long _totalElapsed

_longest

protected long _longest

_histo

protected Histogram _histo
Constructor Detail

PresentsDObjectMgr.UnitProfile

protected PresentsDObjectMgr.UnitProfile()
Method Detail

record

public void record(long elapsed)

toString

public String toString()
Overrides:
toString in class Object