public final class CallDensityListener extends NullListener
Modifier and Type | Field and Description |
---|---|
private double |
numBackedgeSamples |
private double |
numSamples |
Constructor and Description |
---|
CallDensityListener() |
Modifier and Type | Method and Description |
---|---|
double |
callDensity() |
void |
report()
Entry point to dump what has been collected.
|
void |
reset()
Reset the listeners data structures in preparation of a new sampling
window.
|
void |
update(int whereFrom)
This method is called when its time to record that a
yield point has occurred.
|
activate, activateOrganizer, isActive, passivate, setOrganizer
private double numSamples
private double numBackedgeSamples
public CallDensityListener()
public void update(int whereFrom)
NullListener
update
in class NullListener
whereFrom
- Was this a yieldpoint in a PROLOGUE, BACKEDGE, or
EPILOGUE?public double callDensity()
public void reset()
Listener