Home
last modified time | relevance | path

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

/kernel/sched/
Dcpufreq_schedutil.c165 static void sugov_get_util(struct sugov_cpu *sg_cpu) in sugov_get_util() argument
167 struct rq *rq = cpu_rq(sg_cpu->cpu); in sugov_get_util()
169 sg_cpu->max = arch_scale_cpu_capacity(sg_cpu->cpu); in sugov_get_util()
170 sg_cpu->bw_dl = cpu_bw_dl(rq); in sugov_get_util()
171 sg_cpu->util = effective_cpu_util(sg_cpu->cpu, cpu_util_cfs(sg_cpu->cpu), in sugov_get_util()
186 static bool sugov_iowait_reset(struct sugov_cpu *sg_cpu, u64 time, in sugov_iowait_reset() argument
189 s64 delta_ns = time - sg_cpu->last_update; in sugov_iowait_reset()
195 sg_cpu->iowait_boost = set_iowait_boost ? IOWAIT_BOOST_MIN : 0; in sugov_iowait_reset()
196 sg_cpu->iowait_boost_pending = set_iowait_boost; in sugov_iowait_reset()
215 static void sugov_iowait_boost(struct sugov_cpu *sg_cpu, u64 time, in sugov_iowait_boost() argument
[all …]