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.java inserts instrumentation that
writes into this data.
|
Method Summary |
void |
report()
Part of Reportable interface. |
void |
reset()
Part of Reportable interface |
| 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()
- Part of Reportable interface. Called on system exit
- Specified by:
report in interface Reportable
reset
public void reset()
- Part of Reportable interface
- Specified by:
reset in interface Reportable