Guardian C Library Calls Reference Manual
clock
3-18 128833—Guardian TNS C Library Calls Reference Manual
Reference to Library Calls
clock
The clock function determines how much processor time is used by the calling process 
up to the point that the process invokes the clock function. 
Return Value
is the process execution time of the CPU for this process. The time is given in 
microseconds.
Usage Guidelines
•
The clock function returns the time in microseconds. This returned value can be 
divided by CLOCKS_PER_SEC to convert it to seconds. The CLOCKS_PER_SEC 
macro is defined in the header timeh.
#include <timeh>
clock_t clock(void);










