Searched refs:ru0 (Results 1 – 2 of 2) sorted by relevance
/external/mksh/src/ |
D | jobs.c | 1316 struct rusage ru0, ru1; in j_sigchld() local 1338 getrusage(RUSAGE_CHILDREN, &ru0); in j_sigchld() 1370 ru0 = ru1; in j_sigchld() 1375 timersub(&j->usrtime, &ru0.ru_utime, &j->usrtime); in j_sigchld() 1377 timersub(&j->systime, &ru0.ru_stime, &j->systime); in j_sigchld() 1378 ru0 = ru1; in j_sigchld()
|
D | funcs.c | 2620 struct rusage ru0, ru1, cru0, cru1; in timex() local 2624 getrusage(RUSAGE_SELF, &ru0); in timex() 2649 timeradd(&ru0.ru_utime, &cru0.ru_utime, &usrtime); in timex() 2650 timeradd(&ru0.ru_stime, &cru0.ru_stime, &systime); in timex() 2652 timersub(&ru1.ru_utime, &ru0.ru_utime, &usrtime); in timex() 2654 timersub(&ru1.ru_stime, &ru0.ru_stime, &systime); in timex()
|