Searched refs:rusage (Results 1 - 12 of 12) sorted by relevance

/macosx-10.5.8/xnu-1228.15.4/bsd/sys/
H A Dresourcevar.h75 struct rusage p_ru; /* stats for this proc */
76 struct rusage p_cru; /* (PL) sum of stats for reaped children */
134 void ruadd(struct rusage *ru, struct rusage *ru2);
H A Dresource.h142 struct rusage { struct
296 int getrusage(int, struct rusage *);
H A Dwait.h101 * [XSI] The rusage structure shall be defined as described in <sys/resource.h>
109 * than the types siginfo_t and struct rusage as a result of
111 * values othe than siginfo_t and struct rusage from either of
117 #include <sys/resource.h> /* [XSI] for struct rusage */
262 pid_t wait3(int *, int, struct rusage *);
263 pid_t wait4(pid_t, int *, int, struct rusage *);
H A Dproc.h151 struct rusage *p_ru; /* Exit information. XXX */
H A Dtypes.h304 struct rusage;
H A Dproc_internal.h314 struct rusage *p_ru; /* Exit information. (PL) */
H A Dsysproto.h132 char rusage_l_[PADL_(user_addr_t)]; user_addr_t rusage; char rusage_r_[PADR_(user_addr_t)]; member in struct:wait4_args
469 char rusage_l_[PADL_(user_addr_t)]; user_addr_t rusage; char rusage_r_[PADR_(user_addr_t)]; member in struct:getrusage_args
1542 char rusage_l_[PADL_(user_addr_t)]; user_addr_t rusage; char rusage_r_[PADR_(user_addr_t)]; member in struct:wait4_nocancel_args
/macosx-10.5.8/xnu-1228.15.4/bsd/kern/
H A Dkern_exit.c144 __private_extern__ void munge_rusage(struct rusage *a_rusage_p, struct user_rusage *a_user_rusage_p);
202 * status and rusage for wait(). Check for child processes and orphan them.
401 MALLOC_ZONE(p->p_ru, struct rusage *,
585 * Save exit status and final rusage info, adding in child rusage
1021 if (uap->rusage) {
1029 uap->rusage,
1034 uap->rusage,
1035 sizeof (struct rusage));
1502 * status and rusage fo
[all...]
H A Dkern_resource.c882 __private_extern__ void munge_rusage(struct rusage *a_rusage_p, struct user_rusage *a_user_rusage_p);
888 struct rusage *rup, rubuf;
925 return (copyout(retbuf, uap->rusage, retsize));
929 ruadd(struct rusage *ru, struct rusage *ru2)
H A Dkern_acct.c223 struct rusage rup, *r;
H A Dkern_malloc.c325 { SOS(rusage), KMZ_CREATEZONE }, /* 8 M_ZOMBIE */
/macosx-10.5.8/xnu-1228.15.4/tools/tests/xnu_quick_test/
H A Dtests.c123 struct rusage my_usage;
158 * look at the returned rusage structure.
162 printf( "wait4 returned an odd looking rusage structure \n" );
2413 struct rusage my_rusage;

Completed in 166 milliseconds