KCML_Clock_GetTime

Purpose

Returns the clock count in seconds

Definition

DEFSUB 'KCML_Clock_GetTime() AS Numeric

Return

Returns time in seconds or -1.

Description

Returns the clock count in seconds with nanosecond accuracy. The clock is adjusted to be zeroed on the first call to this function. If the count cannot be determined then -1 is returned. If the frequency only cannot be determined then frequency is assumed to be 1GHz.

See also

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