the actual distribution function to use during the
execution of this test. The currently available
distribution functions are:
Type |
Description |
Example |
const |
defines a constant distribution where the
first argument to this function is the number
of operations to guarantee for each unit of
time. |
- const(10) would try to execute 10
operations per unit of time specified
with the attribute unit.
|
step |
defines a step function for the distribution,
where the first argument is the starting
value, the second argument is the stepping size
and the 3rd argument is the duration of each
step. |
- step(1,1,10) would start by executing 1
operation per unit of time and then up
by 1 operation every 10 units of time.
- step(0,10,1) would start by executing 0
operation per unit of time and then up
by 10 operation every 1 units of time.
|
list |
defines a list of the values, where each value
is the exact amount of operations per unit of
time to do in each unit of time. The values of
this list are used once per unit of time till
we reach the end and then we just jump back to
the start of the list. |
- list(0,20,25,20) would try to execute
0 operations for the unit of time 0 and
then 20 at time 1, 25 at time 2 and then
20 at unit of time 3, followed by
starting from the beginning of the list.
|
limit |
this function will limit the underlying
distribution function to a certain number so
that it can't go over that. |
- limit(step(0,20,1),60) would basically
start at 0 operations per unit of time
and then increases by 20 operations
every unit of time until we hit 60 at
which will just stay constant at 60
operations per unit of time.
|