Lines Matching refs:CPUSTATES
621 size = sizeof(long) * maxcpu * CPUSTATES; in getcpuinfo()
626 maxid = (size / CPUSTATES / sizeof(long)) - 1; in getcpuinfo()
629 for (j = 0; empty && j < CPUSTATES; j++) { in getcpuinfo()
630 if (times[i * CPUSTATES + j] != 0) in getcpuinfo()
717 size_cp_times = sizeof(long) * (maxid + 1) * CPUSTATES; in dovmstat()
1123 for (state = 0; state < CPUSTATES; ++state) { in devstats()
1181 for (state = 0; state < CPUSTATES; ++state) in cpustats()
1208 for (state = 0; state < CPUSTATES; ++state) { in pcpustats()
1209 tmp = cur_cp_times[i * CPUSTATES + state]; in pcpustats()
1210 cur_cp_times[i * CPUSTATES + state] -= last_cp_times[i * in pcpustats()
1211 CPUSTATES + state]; in pcpustats()
1212 last_cp_times[i * CPUSTATES + state] = tmp; in pcpustats()
1224 for (state = 0; state < CPUSTATES; ++state) in pcpustats()
1225 total += cur_cp_times[i * CPUSTATES + state]; in pcpustats()
1230 percent("user", (cur_cp_times[i * CPUSTATES + CP_USER] + in pcpustats()
1231 cur_cp_times[i * CPUSTATES + CP_NICE]) * lpct, &over); in pcpustats()
1232 percent("system", (cur_cp_times[i * CPUSTATES + CP_SYS] + in pcpustats()
1233 cur_cp_times[i * CPUSTATES + CP_INTR]) * lpct, &over); in pcpustats()
1234 percent("idle", cur_cp_times[i * CPUSTATES + CP_IDLE] * lpct, in pcpustats()