Searched refs:ru0 (Results 1 – 2 of 2) sorted by relevance
/external/mksh/src/ |
D | jobs.c | 1328 struct rusage ru0, ru1; in j_sigchld() local 1350 getrusage(RUSAGE_CHILDREN, &ru0); in j_sigchld() 1382 ru0 = ru1; in j_sigchld() 1387 timersub(&j->usrtime, &ru0.ru_utime, &j->usrtime); in j_sigchld() 1389 timersub(&j->systime, &ru0.ru_stime, &j->systime); in j_sigchld() 1390 ru0 = ru1; in j_sigchld()
|
D | funcs.c | 2373 struct rusage ru0, ru1, cru0, cru1; in timex() local 2377 getrusage(RUSAGE_SELF, &ru0); in timex() 2402 timeradd(&ru0.ru_utime, &cru0.ru_utime, &usrtime); in timex() 2403 timeradd(&ru0.ru_stime, &cru0.ru_stime, &systime); in timex() 2405 timersub(&ru1.ru_utime, &ru0.ru_utime, &usrtime); in timex() 2407 timersub(&ru1.ru_stime, &ru0.ru_stime, &systime); in timex()
|