|
|
1.1 root 1: .\" Copyright (c) 1980 Regents of the University of California.
2: .\" All rights reserved. The Berkeley software License Agreement
3: .\" specifies the terms and conditions for redistribution.
4: .\"
5: .\" @(#)times.3 6.2 (Berkeley) 5/17/89
6: .\"
7: .TH TIMES 3C "May 17, 1989"
8: .UC 4
9: .SH NAME
10: times \- get process times
11: .SH SYNOPSIS
12: .nf
13: .B "#include <sys/types.h>
14: .B "#include <sys/times.h>
15: .PP
16: .B times(buffer)
17: .B struct tms *buffer;
18: .fi
19: .SH DESCRIPTION
20: .ft B
21: This interface is obsoleted by getrusage(2).
22: .br
23: It is available from the compatibility library, libcompat.
24: .ft R
25: .PP
26: .I Times
27: returns time-accounting information
28: for the current process
29: and for the terminated child processes
30: of the current process.
31: All times are in 1/HZ seconds, where HZ is 60.
32: .PP
33: This is the structure returned by
34: .IR times :
35: .PP
36: .nf
37: .so /usr/include/sys/times.h
38: .PP
39: .fi
40: The children times are the sum
41: of the children's process times and
42: their children's times.
43: .SH "SEE ALSO"
44: 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.