clock_t - system time
Contents
Description
Used for system time in clock ticks or CLOCKS_PER_SEC (defined in <time.h>). According to POSIX, it is
an integer type or a real-floating type.
History
C89, POSIX.1-2001.
Library
Standard C library (libc)
Name
clock_t - system time
Notes
The following headers also provide this type: <sys/types.h> and <sys/times.h>.
See Also
times(2), clock(3) Linux man-pages 6.9.1 2024-05-02 clock_t(3type)
Standards
C11, POSIX.1-2008.
Synopsis
#include<time.h>typedef /* ... */ clock_t;