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

mdw.sandStorm.internal
Class ResponseTimeControllerMM1

java.lang.Object
  |
  +--mdw.sandStorm.internal.ResponseTimeController
        |
        +--mdw.sandStorm.internal.ResponseTimeControllerMM1

public class ResponseTimeControllerMM1
extends ResponseTimeController

An implementation of ResponseTimeController that models the stage as an M/M/1 queue.

Author:
Matt Welsh

Fields inherited from class mdw.sandStorm.internal.ResponseTimeController
INIT_THRESHOLD, MAX_THRESHOLD, MIN_THRESHOLD, pred, stage, targetRT
 
Constructor Summary
ResponseTimeControllerMM1(ManagerIF mgr, StageWrapperIF stage)
           
 
Method Summary
 void adjustThreshold(QueueElementIF[] fetched, long procTime)
           
 void adjustThreshold(QueueElementIF[] fetched, long startTime, long endTime, boolean isFirst, int numThreads)
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResponseTimeControllerMM1

public ResponseTimeControllerMM1(ManagerIF mgr,
                                 StageWrapperIF stage)
                          throws java.lang.IllegalArgumentException
Method Detail

adjustThreshold

public void adjustThreshold(QueueElementIF[] fetched,
                            long startTime,
                            long endTime,
                            boolean isFirst,
                            int numThreads)

adjustThreshold

public void adjustThreshold(QueueElementIF[] fetched,
                            long procTime)
Overrides:
adjustThreshold in class ResponseTimeController

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