C Language Programming Library
Reference Guide

time.h
- clock

Declaration:
clock_t clock(void);
Returns the processor clock time used since the beginning of an
implementation-defined era (normally the beginning of the
program). The returned value divided by CLOCKS_PER_SEC
results in the number of seconds. If the value is unavailable,
then -1 is returned.