KCML_PerfTimer_Stop

Purpose

Stop a performance timer.

Definition

DEFSUB 'KCML_PerfTimer_Stop(nTimerId, BYREF rTimes$_KCML_PerfTimerRec)) AS Bool

Parameters

nTimerIdTimer ID allocated by 'KCML_PerfTimer_Start()
rTimesBuffer to receive result

Return

Returns TRUE is successful. FALSE if nTimerID is not valid.

Description

Stops a timer that was started with KCML_PerfTimer_Start. Returns a KCML_PerfTimerRec DEFRECORD which contains the timer's duration and processor times. The timer is then destroyed.

See also

Internal KCML Functions, Internally defined structures and Internally defined enumerations and constants.