Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ times(3B) — SunOS 5.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

time(1)

getrusage(2)

time(2)

wait(2)

times(3B)

NAME

times − get process times

SYNOPSIS

/usr/ucb/cc [ flag ... ] file ...

#include <sys/types.h>
#include <sys/times.h>

int times(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. 

A structure with the following members is returned by times():

time_ttms_utime;/∗ user time ∗/
time_ttms_stime;/∗ system time ∗/
time_ttms_cutime;/∗ user time, children ∗/
time_ttms_cstime;/∗ system time, children ∗/

The children’s times are the sum of the children’s process times and their children’s times. 

SEE ALSO

time(1), getrusage(2), time(2), wait(2)

NOTES

times() has been superseded by getrusage(). 

SunOS 5.1  —  Last change: 5 Jul 1990

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