Home
last modified time | relevance | path

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

/openbmc/linux/include/linux/
H A 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
/openbmc/linux/drivers/powercap/
H A 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()
/openbmc/linux/kernel/sched/
H A Dfair.c10504 unsigned long sum_util) in update_idle_cpu_scan()
10529 * The number of CPUs to search drops as sum_util increases, when in update_idle_cpu_scan()
10530 * sum_util hits 85% or above, the scan stops. in update_idle_cpu_scan()
10537 * x is the ratio of sum_util compared to the CPU capacity: in update_idle_cpu_scan()
10538 * x = sum_util / (llc_weight * SCHED_CAPACITY_SCALE) in update_idle_cpu_scan()
10549 * x' = sum_util / llc_weight; [3] in update_idle_cpu_scan()
10557 x = sum_util; in update_idle_cpu_scan()
10585 unsigned long sum_util = 0; in update_sd_lb_stats()
10618 sum_util += sgs->group_util; in update_sd_lb_stats()
10645 update_idle_cpu_scan(env, sum_util);
10502 update_idle_cpu_scan(struct lb_env * env,unsigned long sum_util) update_idle_cpu_scan() argument
10583 unsigned long sum_util = 0; update_sd_lb_stats() local
[all...]