Home
last modified time | relevance | path

Searched refs:USER_HZ (Results 1 – 6 of 6) sorted by relevance

/arch/xtensa/include/asm/
Dparam.h16 # define USER_HZ 100 /* for user interfaces in "ticks" */ macro
17 # define CLOCKS_PER_SEC (USER_HZ) /* frequnzy at which times() counts */
/arch/alpha/include/asm/
Dparam.h8 # define USER_HZ 1024 macro
9 # define CLOCKS_PER_SEC USER_HZ /* frequency at which times() counts */
/arch/s390/include/asm/
Dcputime.h125 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()
/arch/ia64/include/asm/
Dparam.h15 # define USER_HZ HZ macro
/arch/powerpc/include/asm/
Dcputime.h220 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()
/arch/powerpc/kernel/
Dtime.c180 div128_by_32(USER_HZ, 0, tb_ticks_per_sec, &res); in calc_cputime_factors()