CLOCK

Section: MINTLIB LIBRARY FUNCTIONS (3)
Updated: 3 March 1993
Index Return to Main Contents
 

NAME

clock - report CPU time used  

SYNOPSIS

#include <time.h>

clock_t clock(void);
 

DESCRIPTION

clock returns the amount of time passed (in 200Hz clock ticks) since the program was started.  

SEE ALSO

times(3), getrusage(3)  

BUGS

This function is hopelessly different from the UN*X function clock, which returns CPU time used by the program and all its terminated children, instead of real time elapsed since the program started.
 

Index

NAME
SYNOPSIS
DESCRIPTION
SEE ALSO
BUGS

This document was created by man2html, using the manual pages.
Time: 11:15:00 GMT, June 22, 2025