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.java 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()
          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
 

Constructor Detail

MethodInvocationCounterData

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

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