Home
last modified time | relevance | path

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

/drivers/cpufreq/
Dcpufreq_governor.c104 struct cpu_dbs_info *j_cdbs = &per_cpu(cpu_dbs, j); in gov_update_cpu_data() local
106 j_cdbs->prev_cpu_idle = get_cpu_idle_time(j, &j_cdbs->prev_update_time, in gov_update_cpu_data()
109 j_cdbs->prev_cpu_nice = kcpustat_cpu(j).cpustat[CPUTIME_NICE]; in gov_update_cpu_data()
139 struct cpu_dbs_info *j_cdbs = &per_cpu(cpu_dbs, j); in dbs_update() local
146 time_elapsed = update_time - j_cdbs->prev_update_time; in dbs_update()
147 j_cdbs->prev_update_time = update_time; in dbs_update()
149 idle_time = cur_idle_time - j_cdbs->prev_cpu_idle; in dbs_update()
150 j_cdbs->prev_cpu_idle = cur_idle_time; in dbs_update()
155 idle_time += cputime_to_usecs(cur_nice - j_cdbs->prev_cpu_nice); in dbs_update()
156 j_cdbs->prev_cpu_nice = cur_nice; in dbs_update()
[all …]