Home
last modified time | relevance | path

Searched refs:bi (Results 1 – 4 of 4) sorted by relevance

/sysdeps/mach/hurd/
A Dclock.c29 struct task_basic_info bi; in clock() local
37 (task_info_t) &bi, &count); in clock()
47 total = bi.user_time.seconds * 1000000 + bi.user_time.microseconds; in clock()
49 total += bi.system_time.seconds * 1000000 + bi.system_time.microseconds; in clock()
A Dgetrusage.c31 struct task_basic_info bi; in __getrusage() local
42 (task_info_t) &bi, &count); in __getrusage()
60 time_value_add (&bi.user_time, &tti.user_time); in __getrusage()
61 time_value_add (&bi.system_time, &tti.system_time); in __getrusage()
65 usage->ru_utime.tv_sec = bi.user_time.seconds; in __getrusage()
66 usage->ru_utime.tv_usec = bi.user_time.microseconds; in __getrusage()
67 usage->ru_stime.tv_sec = bi.system_time.seconds; in __getrusage()
68 usage->ru_stime.tv_usec = bi.system_time.microseconds; in __getrusage()
A Dtimes.c42 struct task_basic_info bi; in __times() local
50 (task_info_t) &bi, &count); in __times()
60 tms->tms_utime = (clock_from_time_value (&bi.user_time) in __times()
62 tms->tms_stime = (clock_from_time_value (&bi.system_time) in __times()
71 - clock_from_time_value (&bi.creation_time)); in __times()
/sysdeps/mach/
A Dclock_gettime.c49 struct task_basic_info bi; in __clock_gettime() local
55 (task_info_t) &bi, &count); in __clock_gettime()
61 time_value_add (&t, &bi.user_time); in __clock_gettime()
62 time_value_add (&t, &bi.system_time); in __clock_gettime()
82 struct thread_basic_info bi; in __clock_gettime() local
87 (thread_info_t) &bi, &count); in __clock_gettime()
94 time_value_add (&bi.user_time, &bi.system_time); in __clock_gettime()
96 TIME_VALUE_TO_TIMESPEC(&bi.user_time, ts); in __clock_gettime()

Completed in 4 milliseconds