search for: tmp_idle_nsecs

Displaying 1 result from an estimated 1 matches for "tmp_idle_nsecs".

2007 Oct 29
0
[PATCH][retry 2][cpufreq] Xen support for the ondemand governor in Linux dom0
...s = NR_CPUS;// num_online_cpus(); + set_xen_guest_handle(op.u.getidletime.idletime, idletime); + if (HYPERVISOR_platform_op(&op)) + return 200; + + policy = this_dbs_info->cur_policy; + cpumap = policy->cpus; + for_each_cpu_mask(j, cpumap) { + cputime64_t total_idle_nsecs, tmp_idle_nsecs; + cputime64_t total_wall_nsecs, tmp_wall_nsecs; + struct cpu_dbs_info_s *j_dbs_info; + unsigned long tmp_load; + + j_dbs_info = &per_cpu(cpu_dbs_info, j); + total_idle_nsecs = idletime[j]; + tmp_idle_nsecs = cputime64_sub(total_idle_nsecs, + j_dbs_info->prev_cpu_idle); + total_wal...