Pauses a custom time measure until the MeasureResume function is called, and returns the current value of the time measure.
Kernel.bdh
MeasurePause( in sMeasure : string ): number;
Current value of the custom time measure in 1/1000 secs.
Parameter | Description |
---|---|
sMeasure | Measure name identifying the custom time measure to pause |
dcltrans transaction TMain var fValue : float; nTime : number; begin MeasureStart("TimeMeasure"); wait 1.0; MeasurePause("TimeMeasure"); wait 2.0; MeasureResume("TimeMeasure"); wait 3.0; nTime := MeasureStop("TimeMeasure"); MeasureGet("TimeMeasure", MEASURE_TIMER_RESPONSETIME, MEASURE_KIND_SUM, fValue); write("time = "); write(nTime); writeln; write("value = "); write(fValue); writeln; end TMain;