avrora.util.profiling
Class Proportion.Share
java.lang.Object
avrora.util.profiling.DataItem
avrora.util.profiling.Counter
avrora.util.profiling.Proportion.Share
- Enclosing class:
- Proportion
- public class Proportion.Share
- extends Counter
Internal class that encapsulates both a counter and the fraction of the total that this named Share
represents.
Fields inherited from class avrora.util.profiling.Counter |
count |
Fields inherited from class avrora.util.profiling.DataItem |
name |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Proportion.Share
public Proportion.Share(java.lang.String newname)
Proportion.Share
public Proportion.Share(java.lang.String newname,
int count)
getFraction
public float getFraction()
processData
public void processData()
- Overrides:
processData
in class Counter
textReport
public void textReport()
- Overrides:
textReport
in class Counter