Searched refs:ru0 (Results 1 – 2 of 2) sorted by relevance
/external/mksh/src/ |
D | jobs.c | 1120 struct rusage ru0, ru1; in j_sigchld() local 1134 getrusage(RUSAGE_CHILDREN, &ru0); in j_sigchld() 1158 ru0 = ru1; in j_sigchld() 1163 timersub(&j->usrtime, &ru0.ru_utime, &j->usrtime); in j_sigchld() 1165 timersub(&j->systime, &ru0.ru_stime, &j->systime); in j_sigchld() 1166 ru0 = ru1; in j_sigchld()
|
D | funcs.c | 2474 struct rusage ru0, ru1, cru0, cru1; in timex() local 2478 getrusage(RUSAGE_SELF, &ru0); in timex() 2502 timeradd(&ru0.ru_utime, &cru0.ru_utime, &usrtime); in timex() 2503 timeradd(&ru0.ru_stime, &cru0.ru_stime, &systime); in timex() 2505 timersub(&ru1.ru_utime, &ru0.ru_utime, &usrtime); in timex() 2507 timersub(&ru1.ru_stime, &ru0.ru_stime, &systime); in timex()
|