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

/darwin-on-arm/xnu/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.h157 struct rusage { struct
321 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 Dtypes.h304 struct rusage;
H A Dproc.h143 struct rusage *p_ru; /* Exit information. XXX */
H A Dproc_internal.h352 struct rusage *p_ru; /* Exit information. (PL) */
/darwin-on-arm/xnu/tools/tests/libMicro/
H A Dgetrusage.c56 struct rusage u;
/darwin-on-arm/xnu/bsd/kern/
H A Dkern_resource.c1001 __private_extern__ void munge_user64_rusage(struct rusage *a_rusage_p, struct user64_rusage *a_user_rusage_p);
1002 __private_extern__ void munge_user32_rusage(struct rusage *a_rusage_p, struct user32_rusage *a_user_rusage_p);
1008 struct rusage *rup, rubuf;
1050 return (copyout(retbuf, uap->rusage, retsize));
1054 ruadd(struct rusage *ru, struct rusage *ru2)
H A Dkern_exit.c154 __private_extern__ void munge_user64_rusage(struct rusage *a_rusage_p, struct user64_rusage *a_user_rusage_p);
155 __private_extern__ void munge_user32_rusage(struct rusage *a_rusage_p, struct user32_rusage *a_user_rusage_p);
243 * status and rusage for wait(). Check for child processes and orphan them.
517 MALLOC_ZONE(p->p_ru, struct rusage *,
732 * Save exit status and final rusage info, adding in child rusage
1186 if (uap->rusage) {
1194 uap->rusage,
1201 uap->rusage,
1601 * status and rusage fo
[all...]
H A Dkern_acct.c223 struct rusage rup, *r;
H A Dkern_malloc.c325 { SOS(rusage), KMZ_CREATEZONE, TRUE }, /* 8 M_ZOMBIE */
/darwin-on-arm/xnu/tools/tests/xnu_quick_test/
H A Dtests.c127 struct rusage my_usage;
162 * look at the returned rusage structure.
166 printf( "wait4 returned an odd looking rusage structure \n" );
2436 struct rusage my_rusage;

Completed in 46 milliseconds