Lines Matching full:util
51 unsigned long util; member
174 * @util: Current CPU utilization.
180 * next_freq = C * max_freq * util / max
187 * Take C = 1.25 for the frequency tipping point at (util / max) = 0.8.
194 unsigned long util, unsigned long max) in get_next_freq() argument
200 freq = map_util_freq(util, freq, max); in get_next_freq()
228 unsigned long min, max, util = scx_cpuperf_target(sg_cpu->cpu); in sugov_get_util() local
231 util += cpu_util_cfs_boost(sg_cpu->cpu); in sugov_get_util()
232 util = effective_cpu_util(sg_cpu->cpu, util, &min, &max); in sugov_get_util()
233 util = max(util, boost); in sugov_get_util()
235 sg_cpu->util = sugov_effective_cpu_perf(sg_cpu->cpu, util, min, max); in sugov_get_util()
351 * sg_cpu->util is already in capacity scale; convert iowait_boost in sugov_iowait_apply()
433 next_f = get_next_freq(sg_policy, sg_cpu->util, max_cap); in sugov_update_single_freq()
464 unsigned long prev_util = sg_cpu->util; in sugov_update_single_perf()
482 if (sugov_hold_freq(sg_cpu) && sg_cpu->util < prev_util) in sugov_update_single_perf()
483 sg_cpu->util = prev_util; in sugov_update_single_perf()
486 sg_cpu->util, max_cap); in sugov_update_single_perf()
495 unsigned long util = 0, max_cap; in sugov_next_freq_shared() local
507 util = max(j_sg_cpu->util, util); in sugov_next_freq_shared()
510 return get_next_freq(sg_policy, util, max_cap); in sugov_next_freq_shared()