Searched refs:ru (Results 1 – 1 of 1) sorted by relevance
430 struct rusage ru; in get_cpu_usage_nsec_parent() local434 err = getrusage(RUSAGE_SELF, &ru); in get_cpu_usage_nsec_parent()437 sum = ru.ru_utime.tv_sec*1e9 + ru.ru_utime.tv_usec*1e3; in get_cpu_usage_nsec_parent()438 sum += ru.ru_stime.tv_sec*1e9 + ru.ru_stime.tv_usec*1e3; in get_cpu_usage_nsec_parent()