Home
last modified time | relevance | path

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

/drivers/cpufreq/
Dcpufreq_governor.c103 struct cpu_dbs_info *j_cdbs = &per_cpu(cpu_dbs, j); in gov_update_cpu_data() local
105 j_cdbs->prev_cpu_idle = get_cpu_idle_time(j, &j_cdbs->prev_update_time, in gov_update_cpu_data()
108 j_cdbs->prev_cpu_nice = kcpustat_field(&kcpustat_cpu(j), CPUTIME_NICE, j); in gov_update_cpu_data()
138 struct cpu_dbs_info *j_cdbs = &per_cpu(cpu_dbs, j); in dbs_update() local
145 time_elapsed = update_time - j_cdbs->prev_update_time; in dbs_update()
146 j_cdbs->prev_update_time = update_time; in dbs_update()
148 idle_time = cur_idle_time - j_cdbs->prev_cpu_idle; in dbs_update()
149 j_cdbs->prev_cpu_idle = cur_idle_time; in dbs_update()
154 idle_time += div_u64(cur_nice - j_cdbs->prev_cpu_nice, NSEC_PER_USEC); in dbs_update()
155 j_cdbs->prev_cpu_nice = cur_nice; in dbs_update()
[all …]