Searched refs:CPUTIME_PER_SEC (Results 1 – 1 of 1) sorted by relevance
14 #define CPUTIME_PER_SEC (CPUTIME_PER_USEC * USEC_PER_SEC) macro35 return __div((__force unsigned long long) cputime, CPUTIME_PER_SEC / HZ); in cputime_to_jiffies()40 return (__force cputime_t)(jif * (CPUTIME_PER_SEC / HZ)); in jiffies_to_cputime()46 do_div(jif, CPUTIME_PER_SEC / HZ); in cputime64_to_jiffies64()52 return (__force cputime64_t)(jif * (CPUTIME_PER_SEC / HZ)); in jiffies64_to_cputime64()75 return __div((__force unsigned long long) cputime, CPUTIME_PER_SEC / 2) >> 1; in cputime_to_secs()80 return (__force cputime_t)(s * CPUTIME_PER_SEC); in secs_to_cputime()88 unsigned long long ret = value->tv_sec * CPUTIME_PER_SEC; in timespec_to_cputime()96 value->tv_nsec = (__cputime % CPUTIME_PER_SEC) * NSEC_PER_USEC / CPUTIME_PER_USEC; in cputime_to_timespec()97 value->tv_sec = __cputime / CPUTIME_PER_SEC; in cputime_to_timespec()[all …]