![]() |
![]()
| ![]() |
![]()
NAME
LIBRARYStandard C Library (libc, -lc) SYNOPSIS
clock_t
DESCRIPTIONThis interface is obsoleted by
getrusage(2)
and
gettimeofday(2).
The
It also fills in the structure pointed to by tp with time-accounting information. The tms structure is defined as follows: struct tms { clock_t tms_utime; clock_t tms_stime; clock_t tms_cutime; clock_t tms_cstime; }; The elements of this structure are defined as follows:
All times are in The times of a terminated child process are included
in the tms_cutime and tms_cstime
elements of the parent when one of the
wait(2)
functions returns the process ID of the terminated child to the parent. If
an error occurs,
ERRORSThe SEE ALSOtime(1), getrusage(2), gettimeofday(2), wait(2), sysconf(3), clocks(7) STANDARDSThe
|