Searched refs:scale_cpu (Results 1 – 2 of 2) sorted by relevance
/linux-6.3-rc2/include/linux/ |
A D | energy_model.h | 115 #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)) 227 unsigned long freq, scale_cpu; in em_cpu_energy() local 243 scale_cpu = arch_scale_cpu_capacity(cpu); in em_cpu_energy() 248 freq = map_util_freq(max_util, ps->frequency, scale_cpu); in em_cpu_energy() 298 return em_estimate_energy(ps->cost, sum_util, scale_cpu); in em_cpu_energy()
|
/linux-6.3-rc2/kernel/sched/ |
A D | deadline.c | 1357 unsigned long scale_cpu = arch_scale_cpu_capacity(cpu); in update_curr_dl() local 1360 scaled_delta_exec = cap_scale(scaled_delta_exec, scale_cpu); in update_curr_dl()
|
Completed in 9 milliseconds