Searched refs:sum_util (Results 1 - 5 of 5) sorted by relevance
/kernel/linux/linux-6.6/include/linux/ |
H A D | energy_model.h | 105 * the 'sum_util'. This would allow to handle existing platforms, which have 107 * In such scenario, where there are 4 CPUs in the Perf. Domain the 'sum_util' 108 * could be 4096, then multiplication: 'cost' * 'sum_util' would overflow. 115 #define em_estimate_energy(cost, sum_util, scale_cpu) \ 116 (((cost) * (sum_util)) / (scale_cpu)) 118 #define em_estimate_energy(cost, sum_util, scale_cpu) \ 119 (((cost) / (scale_cpu)) * (sum_util)) 212 * @sum_util : sum of the utilization of all CPUs in the domain 224 unsigned long max_util, unsigned long sum_util, in em_cpu_energy() 231 if (!sum_util) in em_cpu_energy() 223 em_cpu_energy(struct em_perf_domain *pd, unsigned long max_util, unsigned long sum_util, unsigned long allowed_cpu_cap) em_cpu_energy() argument 337 em_cpu_energy(struct em_perf_domain *pd, unsigned long max_util, unsigned long sum_util, unsigned long allowed_cpu_cap) em_cpu_energy() argument [all...] |
/kernel/linux/linux-5.10/include/linux/ |
H A D | energy_model.h | 106 * @sum_util : sum of the utilization of all CPUs in the domain 116 unsigned long max_util, unsigned long sum_util) in em_cpu_energy() 184 return ps->cost * sum_util / scale_cpu; in em_cpu_energy() 221 unsigned long max_util, unsigned long sum_util) in em_cpu_energy() 115 em_cpu_energy(struct em_perf_domain *pd, unsigned long max_util, unsigned long sum_util) em_cpu_energy() argument 220 em_cpu_energy(struct em_perf_domain *pd, unsigned long max_util, unsigned long sum_util) em_cpu_energy() argument
|
/kernel/linux/linux-6.6/drivers/powercap/ |
H A D | dtpm_cpu.c | 72 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()
|
/kernel/linux/linux-6.6/kernel/sched/ |
H A D | fair.c | 10764 unsigned long sum_util) in update_idle_cpu_scan() 10789 * The number of CPUs to search drops as sum_util increases, when in update_idle_cpu_scan() 10790 * sum_util hits 85% or above, the scan stops. in update_idle_cpu_scan() 10797 * x is the ratio of sum_util compared to the CPU capacity: in update_idle_cpu_scan() 10798 * x = sum_util / (llc_weight * SCHED_CAPACITY_SCALE) in update_idle_cpu_scan() 10809 * x' = sum_util / llc_weight; [3] in update_idle_cpu_scan() 10817 x = sum_util; in update_idle_cpu_scan() 10845 unsigned long sum_util = 0; in update_sd_lb_stats() local 10878 sum_util += sgs->group_util; in update_sd_lb_stats() 10910 update_idle_cpu_scan(env, sum_util); in update_sd_lb_stats() 10763 update_idle_cpu_scan(struct lb_env *env, unsigned long sum_util) update_idle_cpu_scan() argument [all...] |
/kernel/linux/linux-5.10/kernel/sched/ |
H A D | fair.c | 6914 unsigned long max_util = 0, sum_util = 0; in compute_energy() local 6932 * required since the ratio (sum_util / cpu_capacity) in compute_energy() 6936 sum_util += schedutil_cpu_util(cpu, util_cfs, cpu_cap, in compute_energy() 6951 return em_cpu_energy(pd->em_pd, max_util, sum_util); in compute_energy()
|
Completed in 31 milliseconds