Timer

double Timer (void);

Purpose

Returns the number of seconds elapsed since the first call to Timer, Delay, or SyncWait, or the first operation on a timer control.

The value is never reset to zero except when you restart the program.

The resolution is normally 1 millisecond. However, if you set the useDefaultTimer configuration option to True, the resolution is 55 milliseconds.

Linux The resolution is 1 millisecond.

Parameters

None.

Return Value

Name Type Description
numSeconds double-precision Number of seconds since the first call to Timer or the first operation on a timer control.