Searched refs:cur_cp_times (Results 1 - 1 of 1) sorted by relevance

/freebsd-10.0-release/usr.bin/vmstat/
H A Dvmstat.c635 static long *cur_cp_times; variable
693 cur_cp_times = calloc(1, size_cp_times);
710 mysysctl("kern.cp_times", cur_cp_times, &size, NULL, 0);
1115 tmp = cur_cp_times[i * CPUSTATES + state];
1116 cur_cp_times[i * CPUSTATES + state] -= last_cp_times[i * CPUSTATES + state];
1127 total += cur_cp_times[i * CPUSTATES + state];
1133 percent((cur_cp_times[i * CPUSTATES + CP_USER] +
1134 cur_cp_times[i * CPUSTATES + CP_NICE]) * lpct, &over);
1136 percent((cur_cp_times[i * CPUSTATES + CP_SYS] +
1137 cur_cp_times[
[all...]

Completed in 62 milliseconds