public class Uniform extends Cycle
Constructor and Description |
---|
Uniform() |
Modifier and Type | Method and Description |
---|---|
protected void |
configureSubclass(Element e)
Configure the cycle based on an XML fragment from the configuration
file.
|
long |
getDelay(Random random)
Randoms/calculates the delay time for a thread based on its
supplied random number generator and the actual conditions in the
distribution.
|
double |
getHistogramMax()
Provides the maximum value to be represented inside a histogram.
|
void |
init(Annotation a)
Initializes this cycle according to the annotation.
|
public void init(Annotation a) throws DefinitionException
init
in class Cycle
a
- The annotationDefinitionException
- If there is an error in the annotationpublic long getDelay(Random random)
public double getHistogramMax()
getHistogramMax
in class Cycle
protected void configureSubclass(Element e) throws ConfigurationException
CYCLETIME -- or THINKTIMEmin max deviation
configureSubclass
in class Cycle
ConfigurationException