Displaying 1 result from an estimated 1 matches for "tmp_wall_ticks".
2007 Oct 23
2
[PATCH][cpufreq] Xen support for the ondemand governor [2/2] (linux)
...idletime, idletime);
+ set_xen_guest_handle(op.u.getidletime.totaltime, totaltime);
+ HYPERVISOR_platform_op(&op);
+
+ policy = this_dbs_info->cur_policy;
+ for_each_cpu_mask(j, policy->cpus) {
+ cputime64_t total_idle_ticks, total_wall_ticks;
+ cputime64_t tmp_idle_ticks, tmp_wall_ticks;
+ struct cpu_dbs_info_s *j_dbs_info;
+ unsigned long tmp_load;
+
+ j_dbs_info = &per_cpu(cpu_dbs_info, j);
+ total_idle_ticks = idletime[j];
+ tmp_idle_ticks = cputime64_sub(total_idle_ticks,
+ j_dbs_info->prev_cpu_idle);
+ total_wall_ticks = totaltime[j];
+ tmp_wall_ticks = cputi...