Searched refs:util (Results 1 – 4 of 4) sorted by relevance
/kernel/sched/ |
D | cpufreq_schedutil.c | 51 unsigned long util; member 143 unsigned long util, unsigned long max) in get_next_freq() argument 150 util = map_util_perf(util); in get_next_freq() 151 trace_android_vh_map_util_freq(util, freq, max, &next_freq, policy, in get_next_freq() 156 freq = map_util_freq(util, freq, max); in get_next_freq() 171 sg_cpu->util = effective_cpu_util(sg_cpu->cpu, cpu_util_cfs(sg_cpu->cpu), in sugov_get_util() 293 if (sg_cpu->util < boost) in sugov_iowait_apply() 294 sg_cpu->util = boost; in sugov_iowait_apply() 348 next_f = get_next_freq(sg_policy, sg_cpu->util, sg_cpu->max); in sugov_update_single_freq() 385 unsigned long prev_util = sg_cpu->util; in sugov_update_single_perf() [all …]
|
D | sched.h | 3010 unsigned long util; in cpu_util_cfs() local 3013 util = READ_ONCE(cfs_rq->avg.util_avg); in cpu_util_cfs() 3016 util = max_t(unsigned long, util, in cpu_util_cfs() 3020 return min(util, capacity_orig_of(cpu)); in cpu_util_cfs() 3067 unsigned long uclamp_rq_util_with(struct rq *rq, unsigned long util, in uclamp_rq_util_with() argument 3074 return util; in uclamp_rq_util_with() 3099 return clamp(util, min_util, max_util); in uclamp_rq_util_with() 3140 unsigned long uclamp_rq_util_with(struct rq *rq, unsigned long util, in uclamp_rq_util_with() argument 3143 return util; in uclamp_rq_util_with() 3180 unsigned long scale_irq_capacity(unsigned long util, unsigned long irq, unsigned long max) in scale_irq_capacity() argument [all …]
|
D | fair.c | 1694 unsigned long util; member 1745 (((ns->compute_capacity * 100) < (ns->util * imbalance_pct)) || in numa_classify() 1750 (((ns->compute_capacity * 100) > (ns->util * imbalance_pct)) && in numa_classify() 1803 ns->util += cpu_util_cfs(cpu); in update_numa_stats() 4441 static inline int util_fits_cpu(unsigned long util, in util_fits_cpu() argument 4450 trace_android_rvh_util_fits_cpu(util, uclamp_min, uclamp_max, cpu, &fits, &done); in util_fits_cpu() 4458 fits = fits_capacity(util, capacity); in util_fits_cpu() 4559 if (fits && (util < uclamp_min) && (uclamp_min > capacity_orig_thermal)) in util_fits_cpu() 4569 unsigned long util = task_util_est(p); in task_fits_cpu() local 4574 return (util_fits_cpu(util, uclamp_min, uclamp_max, cpu) > 0); in task_fits_cpu() [all …]
|
D | core.c | 7439 unsigned long dl_util, util, irq, max; in effective_cpu_util() local 7475 util = util_cfs + cpu_util_rt(rq); in effective_cpu_util() 7477 util = uclamp_rq_util_with(rq, util, p); in effective_cpu_util() 7490 if (util + dl_util >= max) in effective_cpu_util() 7498 util += dl_util; in effective_cpu_util() 7509 util = scale_irq_capacity(util, irq, max); in effective_cpu_util() 7510 util += irq; in effective_cpu_util() 7523 util += cpu_bw_dl(rq); in effective_cpu_util() 7525 return min(max, util); in effective_cpu_util() 10652 u64 util; member [all …]
|