CLOCK

Section: C Library Functions (3)
Index Return to Main Contents

BSD mandoc
 

NAME

clock - determine processor time used  

SYNOPSIS

Fd #include <time.h> Ft clock_t Fn clock void  

DESCRIPTION

The Fn clock function determines the amount of processor time used since the invocation of the calling process, measured in CLOCKS_PER_SEC s.  

RETURN VALUES

The Fn clock function returns the amount of time used unless an error occurs, in which case the return value is -1.  

SEE ALSO

getrusage(2)  

STANDARDS

The Fn clock function conforms to St -ansiC .


 

Index

NAME
SYNOPSIS
DESCRIPTION
RETURN VALUES
SEE ALSO
STANDARDS

This document was created by man2html, using the manual pages.
Time: 21:44:10 GMT, August 05, 2022