Searched refs:p_ru (Results 1 - 15 of 15) sorted by relevance

/xnu-2422.115.4/bsd/kern/
H A Dkern_exit.c422 p->p_ru = rup;
787 if (p->p_ru != NULL) {
788 calcru(p, &p->p_stats->p_ru.ru_utime, &p->p_stats->p_ru.ru_stime, NULL);
789 p->p_ru->ru = p->p_stats->p_ru;
791 ruadd(&(p->p_ru->ru), &p->p_stats->p_cru);
860 if (p->p_ru != NULL) {
876 ruadd(&pp->p_stats->p_cru, &p->p_ru->ru);
878 update_rusage_info_child(&pp->p_stats->ri_child, &p->p_ru
[all...]
H A Dkern_resource.c1002 p->p_stats->p_ru.ru_minflt = (teventsinfo.faults -
1004 p->p_stats->p_ru.ru_majflt = teventsinfo.pageins;
1005 p->p_stats->p_ru.ru_nivcsw = (teventsinfo.csw -
1006 p->p_stats->p_ru.ru_nvcsw);
1007 if (p->p_stats->p_ru.ru_nivcsw < 0)
1008 p->p_stats->p_ru.ru_nivcsw = 0;
1010 p->p_stats->p_ru.ru_maxrss = tinfo.resident_size_max;
1034 rup = &p->p_stats->p_ru;
1526 if (p->p_ru == NULL) {
1531 rusage_info_v2_to_v0(&ri_v0, &p->p_ru
[all...]
H A Dkern_clock.c372 tv = &(p->p_stats->p_ru.ru_stime);
394 st = p->p_stats->p_ru.ru_stime;
H A Dkern_acct.c257 rup = p->p_stats->p_ru;
H A Dkern_synch.c176 OSIncrementAtomicLong(&p->p_stats->p_ru.ru_nvcsw);
H A Duipc_socket.c1752 OSIncrementAtomicLong(&p->p_stats->p_ru.ru_msgsnd);
2336 OSIncrementAtomicLong(&p->p_stats->p_ru.ru_msgrcv);
H A Dkern_sig.c2771 OSIncrementAtomicLong(&p->p_stats->p_ru.ru_nsignals);
/xnu-2422.115.4/bsd/sys/
H A Dresourcevar.h74 struct rusage p_ru; /* stats for this proc */ member in struct:pstats
H A Dproc_internal.h349 struct rusage_superset *p_ru; /* Exit information. (PL) */ member in struct:proc
568 uint32_t p_ru; /* Exit information. XXX */ member in struct:user32_extern_proc
620 user_addr_t p_ru __attribute((aligned(8))); /* Exit information. XXX */
H A Dproc.h143 struct rusage *p_ru; /* Exit information. XXX */ member in struct:extern_proc
/xnu-2422.115.4/bsd/vfs/
H A Dvfs_bio.c2104 OSIncrementAtomicLong(&p->p_stats->p_ru.ru_inblock); /* XXX */
2242 OSIncrementAtomicLong(&p->p_stats->p_ru.ru_oublock); /* XXX */
2269 OSIncrementAtomicLong(&p->p_stats->p_ru.ru_oublock); /* XXX */
2327 OSIncrementAtomicLong(&p->p_stats->p_ru.ru_oublock); /* XXX */
/xnu-2422.115.4/bsd/netinet/
H A Dmptcp_usrreq.c1256 OSIncrementAtomicLong(&p->p_stats->p_ru.ru_msgsnd);
H A Dmptcp_subr.c956 OSIncrementAtomicLong(&p->p_stats->p_ru.ru_msgrcv);
/xnu-2422.115.4/bsd/nfs/
H A Dnfs_bio.c2320 OSIncrementAtomicLong(&p->p_stats->p_ru.ru_oublock);
H A Dnfs_vnops.c3111 OSIncrementAtomicLong(&p->p_stats->p_ru.ru_oublock);

Completed in 118 milliseconds