Kernel.bdh
Measure( in nStatus: number ): boolean;
true if successful
false otherwise
Parameter | Description |
---|---|
nStatus |
Specifies whether to enable or disable measurements. This parameter must contain one of the following flags:
|
dclrand rWait: RndUniF(0.0 .. 1.0); dcltrans transaction TInit begin Measure(MEASURE_OFF); end TInit; transaction TMain var nCount: number init 0; begin nCount := nCount + 1; if nCount = 10 then Measure(MEASURE_ON) end; if nCount = 20 then Measure(MEASURE_OFF) end; end TMain;