TIMES(2) — UNIX Programmer’s Manual
NAME
times − get process times
SYNOPSIS
#include <sys/types.h>
#include <sys/times.h>
times(buffer)
struct tms \(**buffer;
DESCRIPTION
Times returns time-accounting information for the current process and for the terminated child processes of the current process. All times are in 1/HZ seconds, where HZ is either 50 or 60 depending on your locality.
This is the structure returned by times:
/\(**
static char times_h_SCCS_ID[] = "@(#)times.h4.1 10/26/82";
/\(**
/\(**\(**\(**\(**\(**\(**\(**\(**\(**\(**\(**\(**\(**\(**\(**\(**\(**\(**\(**\(**\(**\(**\(**\(**\(**\(**\(**\(**\(** \(**\(**\(**\(**\(**\(**\(**\(**\(**\(**\(**\(**\(**\(**\(**
Copyright 1982
VALID LOGIC SYSTEMS INCORPORATED
This listing contains confidential proprietary information which is not to
be disclosed to unauthorized persons without written consent of an officer
of Valid Logic Systems Incorporated.
The copyright notice appearing above is included to provide statutory
protection in the event of unauthorized or unintentional public disclosure.
\(**\(**\(**\(**\(**\(**\(**\(**\(**\(**\(**\(**\(**\(**\(**\(**\(** \(**\(**\(**\(**\(**\(**\(**\(**\(**\(**\(**\(**/
/\(**
\(** Structure returned by times()
\(**/
struct tms {
time_ttms_utime;/\(** user time \(**/
time_ttms_stime;/\(** system time \(**/
time_ttms_cutime;/\(** user time, children \(**/
time_ttms_cstime;/\(** system time, children \(**/
};
The children times are the sum of the children’s process times and their children’s times.
SEE ALSO
ASSEMBLER (PDP-11)
(times = 43.)
sys times; buffer
August 03, 1983 — %W%%Q%%Y%