org.jikesrvm.adaptive.measurements.organizers
Class AccumulatingMethodSampleOrganizer
java.lang.Object
org.jikesrvm.scheduler.SystemThread
org.jikesrvm.adaptive.measurements.organizers.Organizer
org.jikesrvm.adaptive.measurements.organizers.AccumulatingMethodSampleOrganizer
public final class AccumulatingMethodSampleOrganizer
- extends Organizer
An organizer for method listener information that
simply accumulates the samples into a private
MethodCountData instance.
This organizer is used to simply gather aggregate sample data and
report it.
Fields inherited from class org.jikesrvm.adaptive.measurements.organizers.Organizer |
listener |
Method Summary |
void |
initialize()
Initialization: set up data structures and sampling objects. |
void |
report()
Last opportunity to say something. |
(package private) void |
thresholdReached()
Method that is called when the sampling threshold is reached |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
data
private MethodCountData data
AccumulatingMethodSampleOrganizer
public AccumulatingMethodSampleOrganizer()
initialize
public void initialize()
- Initialization: set up data structures and sampling objects.
Uses either timer based sampling or counter based sampling,
depending on Controller.options
.
- Specified by:
initialize
in class Organizer
thresholdReached
void thresholdReached()
- Description copied from class:
Organizer
- Method that is called when the sampling threshold is reached
- Specified by:
thresholdReached
in class Organizer
report
public void report()
- Description copied from class:
Organizer
- Last opportunity to say something.
- Overrides:
report
in class Organizer