|
||
clock_t clock( void )
|
|
|
Synopsis |
#include "time.h"
The clock function returns the number of clock ticks that have elapsed since the current program began execution. The time in seconds may be approximated by dividing the return value by CLOCKS_PER_SEC (defined in time.h).
|
|
Parameters |
none
|
|
Return Value |
The number of clock ticks is returned a clock_t (int). |
|
|
|