Reads the state of randomization for the thinktime periods specified in several functions.
Kernel.bdh
GetRandomThinkTime( out eOption : numberoptional, out nDeviation : number optional ): boolean;
true if randomization is enabled
false otherwise
| Parameter | Description | 
|---|---|
| eOption | 
                           
                            Can be either: 
  | 
                        
                     
| nDeviation | The deviation factor used if OPT_THINKTIME_UNIFORM is set (in %). | 
dcltrans transaction Tinit var nDistribution : number; nDeviation : number; begin write("Random thinking time: "); if GetRandomThinkTime(nDistribution, nDeviation) then write("true – distribution: "); if nDistribution = OPT_THINKTIME_EXPONENTIAL then write("exponential"); else write("uniform"); end; else write("false"); end; writeln; end TInit;