Sets the value of a timer identified by sName. When this function is called for a specified timer for the first time, the counter is automatically allocated and initialized.
Kernel.bdh
MeasureSetTimer( in sName : string, in nValue : number): boolean;
true if successful
false otherwise
Parameter | Description |
---|---|
sName | Name of the timer concerned with the measurement. |
nValue | Value to set. In milliseconds. |
dcltrans transaction TMain var fValue : float; begin MeasureSetTimer("TimeMeasure", 2000); ... MeasureGet("TimeMeasure", MEASURE_TIMER_RESPONSETIME, MEASURE_KIND_SUM, fValue); Print("Val: " + string(fValue)); end TMain;