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

/freebsd-13-stable/usr.bin/vmstat/
H A Dvmstat.c109 static long *cur_cp_times, *last_cp_times; variable
719 cur_cp_times = calloc(1, size_cp_times);
736 mysysctl("kern.cp_times", cur_cp_times, &size);
1227 tmp = cur_cp_times[i * CPUSTATES + state];
1228 cur_cp_times[i * CPUSTATES + state] -= last_cp_times[i *
1243 total += cur_cp_times[i * CPUSTATES + state];
1248 percent("user", (cur_cp_times[i * CPUSTATES + CP_USER] +
1249 cur_cp_times[i * CPUSTATES + CP_NICE]) * lpct, &over);
1250 percent("system", (cur_cp_times[i * CPUSTATES + CP_SYS] +
1251 cur_cp_times[
[all...]

Completed in 105 milliseconds