Lines Matching refs:cpu
40 unsigned int sched_goidle; /* schedule() left the cpu idle */
45 * the waking cpu */
72 printf("CPU yield() schedule() switch idle ttwu() local cpu_time wait_time timeslices\n");
85 int cpu;
87 if (sscanf(b, "cpu%d %u %u %u %u %u %u %llu %llu %lu\n",
88 &cpu, &tmp.yld_count,
96 cpu_delta[cpu].yld_count = tmp.yld_count - cpu_prev[cpu].yld_count;
97 cpu_delta[cpu].sched_switch = tmp.sched_switch - cpu_prev[cpu].sched_switch;
98 cpu_delta[cpu].sched_count = tmp.sched_count - cpu_prev[cpu].sched_count;
99 cpu_delta[cpu].sched_goidle = tmp.sched_goidle - cpu_prev[cpu].sched_goidle;
100 cpu_delta[cpu].ttwu_count = tmp.ttwu_count - cpu_prev[cpu].ttwu_count;
101 cpu_delta[cpu].ttwu_local = tmp.ttwu_local - cpu_prev[cpu].ttwu_local;
102 cpu_delta[cpu].cpu_time = tmp.cpu_time - cpu_prev[cpu].cpu_time;
103 cpu_delta[cpu].run_delay = tmp.run_delay - cpu_prev[cpu].run_delay;
104 cpu_delta[cpu].pcount = tmp.pcount - cpu_prev[cpu].pcount;
106 cpu_prev[cpu] = tmp;