clock is located in time.h or ctime. Prooflink: http://www.cplusplus.com/reference/ctime/clock/