4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License, Version 1.0 only
6 * (the "License"). You may not use this file except in compliance
9 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10 * or http://www.opensolaris.org/os/licensing.
11 * See the License for the specific language governing permissions
12 * and limitations under the License.
14 * When distributing Covered Code, include this CDDL HEADER in each
15 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16 * If applicable, add the following below this CDDL HEADER, with the
17 * fields enclosed by brackets "[]" replaced with your own identifying
18 * information: Portions Copyright [yyyy] [name of copyright owner]
23 * Copyright (c) 1991-1997, by Sun Microsystems, Inc.
24 * All rights reserved.
30 #pragma ident "%Z%%M% %I% %E% SMI"
39 * Resource utilization information.
43 #define RUSAGE_CHILDREN -1
46 struct timeval ru_utime
; /* user time used */
47 struct timeval ru_stime
; /* system time used */
49 #define ru_first ru_ixrss
50 long ru_ixrss
; /* XXX: 0 */
51 long ru_idrss
; /* XXX: sum of rm_asrss */
52 long ru_isrss
; /* XXX: 0 */
53 long ru_minflt
; /* any page faults not requiring I/O */
54 long ru_majflt
; /* any page faults requiring I/O */
55 long ru_nswap
; /* swaps */
56 long ru_inblock
; /* block input operations */
57 long ru_oublock
; /* block output operations */
58 long ru_msgsnd
; /* messages sent */
59 long ru_msgrcv
; /* messages received */
60 long ru_nsignals
; /* signals received */
61 long ru_nvcsw
; /* voluntary context switches */
62 long ru_nivcsw
; /* involuntary " */
63 #define ru_last ru_nivcsw
70 #endif /* _SYS_RUSAGE_H */