Searched refs:USER_HZ (Results 1 – 6 of 6) sorted by relevance
16 # define USER_HZ 100 /* for user interfaces in "ticks" */ macro17 # define CLOCKS_PER_SEC (USER_HZ) /* frequnzy at which times() counts */
8 # define USER_HZ 1024 macro9 # define CLOCKS_PER_SEC USER_HZ /* frequency at which times() counts */
125 do_div(clock, CPUTIME_PER_SEC / USER_HZ); in cputime_to_clock_t()131 return (__force cputime_t)(x * (CPUTIME_PER_SEC / USER_HZ)); in clock_t_to_cputime()140 do_div(clock, CPUTIME_PER_SEC / USER_HZ); in cputime64_to_clock_t()
15 # define USER_HZ HZ macro
220 ct = clk % USER_HZ; in clock_t_to_cputime()221 sec = clk / USER_HZ; in clock_t_to_cputime()224 do_div(ct, USER_HZ); in clock_t_to_cputime()
180 div128_by_32(USER_HZ, 0, tb_ticks_per_sec, &res); in calc_cputime_factors()