Home
last modified time | relevance | path

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

/linux-6.6.21/include/linux/
Denergy_model.h115 #define em_estimate_energy(cost, sum_util, scale_cpu) \ argument
116 (((cost) * (sum_util)) / (scale_cpu))
118 #define em_estimate_energy(cost, sum_util, scale_cpu) \ argument
119 (((cost) / (scale_cpu)) * (sum_util))
224 unsigned long max_util, unsigned long sum_util, in em_cpu_energy() argument
231 if (!sum_util) in em_cpu_energy()
298 return em_estimate_energy(ps->cost, sum_util, scale_cpu); in em_cpu_energy()
338 unsigned long max_util, unsigned long sum_util, in em_cpu_energy() argument
/linux-6.6.21/drivers/powercap/
Ddtpm_cpu.c72 unsigned long max, sum_util = 0; in scale_pd_power_uw() local
82 sum_util += sched_cpu_util(cpu); in scale_pd_power_uw()
84 return (power * ((sum_util << 10) / max)) >> 10; in scale_pd_power_uw()
/linux-6.6.21/kernel/sched/
Dfair.c10360 unsigned long sum_util) in update_idle_cpu_scan() argument
10413 x = sum_util; in update_idle_cpu_scan()
10441 unsigned long sum_util = 0; in update_sd_lb_stats() local
10474 sum_util += sgs->group_util; in update_sd_lb_stats()
10506 update_idle_cpu_scan(env, sum_util); in update_sd_lb_stats()