|
|
Initial revision
.\" Copyright (c) 1980 Regents of the University of California. .\" All rights reserved. The Berkeley software License Agreement .\" specifies the terms and conditions for redistribution. .\" .\" @(#)times.3 6.2 (Berkeley) 5/17/89 .\" .TH TIMES 3C "May 17, 1989" .UC 4 .SH NAME times \- get process times .SH SYNOPSIS .nf .B "#include <sys/types.h> .B "#include <sys/times.h> .PP .B times(buffer) .B struct tms *buffer; .fi .SH DESCRIPTION .ft B This interface is obsoleted by getrusage(2). .br It is available from the compatibility library, libcompat. .ft R .PP .I 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. .PP This is the structure returned by .IR times : .PP .nf .so /usr/include/sys/times.h .PP .fi The children times are the sum of the children's process times and their children's times. .SH "SEE ALSO" time(1), getrusage(2), wait3(2), time(3)
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.