KCML_Clock_GetCount

Purpose

Get processor clock count

Definition

DEFSUB 'KCML_Clock_GetCount() AS Numeric

Return

Clock cycles since processor started or -1 if not available

Description

Return the processor clock count. This is the number of clock cycles since the processor started and is likely to be a large number. Currently only supported on Windows and 32-bit Linux running on a Pentium processor. In platforms where this is not supported -1 is returned.

See also

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