Home
last modified time | relevance | path

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

/linux-6.12.1/tools/sched_ext/
Dscx_flatcg.c58 __u64 delta_sum, delta_idle; in read_cpu_util() local
95 delta_idle = idle - *last_idle; in read_cpu_util()
99 return delta_sum ? (float)(delta_sum - delta_idle) / delta_sum : 0.0; in read_cpu_util()
/linux-6.12.1/drivers/thermal/
Dcpufreq_cooling.c174 u64 now, now_idle, delta_time, delta_idle; in get_load() local
178 delta_idle = now_idle - idle_time->time; in get_load()
181 if (delta_time <= delta_idle) in get_load()
184 load = div64_u64(100 * (delta_time - delta_idle), delta_time); in get_load()