More information: http://www.cs.berkeley.edu/~mdw/proj/seda/

seda.sandStorm.api.internal
Interface StageStatsIF

All Known Implementing Classes:
StageStats

public interface StageStatsIF

This interface allows various components of the system to record and gather statistics about the stage during execution.

Author:
Matt Welsh

Method Summary
 double get90thRT()
          Get a moving average of the stage's 90th percentile response time in msec.
 double getServiceRate()
          Get a moving average of the stage's service rate.
 long getTotalEvents()
          Get a running total of the number of processed events.
 void record90thRT(double rt_sample)
          Record a 90th percentile response time sample in msec.
 void recordServiceRate(int numEvents, long time)
          Record a service rate sample.
 void reset()
          Reset all statistics.
 

Method Detail

reset

public void reset()
Reset all statistics.

recordServiceRate

public void recordServiceRate(int numEvents,
                              long time)
Record a service rate sample.

getServiceRate

public double getServiceRate()
Get a moving average of the stage's service rate.

getTotalEvents

public long getTotalEvents()
Get a running total of the number of processed events.

record90thRT

public void record90thRT(double rt_sample)
Record a 90th percentile response time sample in msec.

get90thRT

public double get90thRT()
Get a moving average of the stage's 90th percentile response time in msec.

More information: http://www.cs.berkeley.edu/~mdw/proj/seda/