Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

getrusage(2)

time(1)

time(3)

wait3(2)

TIMES(3C)  —  Kubota Pacfic Computer Inc. (Compatibility Functions−BSD)

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 60. 

This is the structure returned by times:

/∗
 ∗ 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

getrusage(2), time(1), time(3), wait3(2)

September 02, 1992

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026