Searched refs:FIXED_1 (Results 1 – 8 of 8) sorted by relevance
19 #define FIXED_1 (1<<FSHIFT) /* 1.0 as fixed-point */ macro33 newload = load * exp + active * (FIXED_1 - exp); in calc_load()35 newload += FIXED_1-1; in calc_load()37 return newload / FIXED_1; in calc_load()44 #define LOAD_FRAC(x) LOAD_INT(((x) & (FIXED_1-1)) * 100)
104 os_data->avenrun[0] = avenrun[0] + (FIXED_1/200); in appldata_get_os_data()105 os_data->avenrun[1] = avenrun[1] + (FIXED_1/200); in appldata_get_os_data()106 os_data->avenrun[2] = avenrun[2] + (FIXED_1/200); in appldata_get_os_data()
39 info->busy_spus = calc_load(info->busy_spus, EXP, busy_spus * FIXED_1); in calc_freq()43 return info->policy->max * info->busy_spus / FIXED_1; in calc_freq()
317 active = active > 0 ? active * FIXED_1 : 0; in calc_global_nohz()366 active = active > 0 ? active * FIXED_1 : 0; in calc_global_load()
326 pct *= FIXED_1; in calc_avgs()
18 get_avenrun(avnrun, FIXED_1/200, 0); in loadavg_proc_show()
970 active_tasks = count_active_contexts() * FIXED_1; in spu_calc_load()1060 a = spu_avenrun[0] + (FIXED_1/200); in show_spu_loadavg()1061 b = spu_avenrun[1] + (FIXED_1/200); in show_spu_loadavg()1062 c = spu_avenrun[2] + (FIXED_1/200); in show_spu_loadavg()
114 int rnd_load = load + (FIXED_1/200); in fixed_loadavg()115 int rnd_frac = ((rnd_load & (FIXED_1-1)) * 100) >> FSHIFT; in fixed_loadavg()
Completed in 22 milliseconds