org.jikesrvm.adaptive.measurements.instrumentation
Class MethodInvocationCounterData
java.lang.Object
org.jikesrvm.adaptive.measurements.instrumentation.ManagedCounterData
org.jikesrvm.adaptive.measurements.instrumentation.MethodInvocationCounterData
- All Implemented Interfaces:
- Reportable
public final class MethodInvocationCounterData
- extends ManagedCounterData
- implements Reportable
An instance of this class is used to store method counters. It is
initialized at startup, and instrumentation phase
InsertMethodInvocationCounter inserts instrumentation that
writes into this data.
Method Summary |
void |
report()
Called on system exit |
void |
reset()
reset (clear) data set being gathered |
Methods inherited from class org.jikesrvm.adaptive.measurements.instrumentation.ManagedCounterData |
automaticallyGrowCounters, createEventCounterInstruction, createEventCounterInstruction, getCounter, getCounterManager, getHandle, getNumCounters, initializeCounters, report, resizeCounters, setCounter |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MethodInvocationCounterData
MethodInvocationCounterData(InstrumentedEventCounterManager manager)
- Parameters:
manager
- The manager that will provide the counter space
report
public void report()
- Called on system exit
- Specified by:
report
in interface Reportable
reset
public void reset()
- Description copied from interface:
Reportable
- reset (clear) data set being gathered
- Specified by:
reset
in interface Reportable