INtime SDK Help
clock

Measures the time used by the calling thread, from when the calling thread first began execution to the current time.

#include <time.h>

clock_t clock (void);

Parameters

None.

Remarks

In the multitasking real-time OS environment, this does not tell how much processor time has been used by the calling thread.

Return Values

The product of the time in seconds and the value of the CLOCKS_PER_SEC constant. Divide the return value by the CLOCKS_PER_SEC constant to obtain the actual time.
Success.
-1, cast as clock_t.
Failure.

Requirements

Versions Defined in Include Link to
INtime 3.0 intime/rt/include/time.h time.h clib.lib

See Also

difftime, time