org.jikesrvm.adaptive.measurements.instrumentation
Class MethodInvocationCounterData

java.lang.Object
  extended by org.jikesrvm.adaptive.measurements.instrumentation.ManagedCounterData
      extended by 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.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.jikesrvm.adaptive.measurements.instrumentation.ManagedCounterData
ManagedCounterData.Counter
 
Field Summary
 
Fields inherited from class org.jikesrvm.adaptive.measurements.instrumentation.ManagedCounterData
automaticallyGrowCounters, counterManager, handle, numCounters
 
Constructor Summary
MethodInvocationCounterData(InstrumentedEventCounterManager manager)
           
 
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
 

Constructor Detail

MethodInvocationCounterData

MethodInvocationCounterData(InstrumentedEventCounterManager manager)
Parameters:
manager - The manager that will provide the counter space
Method Detail

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