Home
last modified time | relevance | path

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

/linux/drivers/cpufreq/
H A Dcpufreq_governor.c96 * Note: prev_cpu_nice is reset here unconditionally alongside prev_cpu_idle. in gov_update_cpu_data()
115 j_cdbs->prev_cpu_nice = kcpustat_field(CPUTIME_NICE, j); in dbs_update()
177 * Always sample cur_nice and advance prev_cpu_nice, regardless in dbs_update()
178 * of ignore_nice. This keeps prev_cpu_nice current so that in dbs_update()
185 idle_time += div_u64(cur_nice - j_cdbs->prev_cpu_nice, NSEC_PER_USEC); in dbs_update()
187 j_cdbs->prev_cpu_nice = cur_nice; in dbs_update()
555 j_cdbs->prev_cpu_nice = kcpustat_field(CPUTIME_NICE, j); in cpufreq_dbs_governor_stop()
H A Dcpufreq_governor.h113 u64 prev_cpu_nice; member