version 1.146, 2019/06/28 13:35:05 |
version 1.147, 2019/08/12 11:54:32 |
|
|
else |
else |
percent = 0; |
percent = 0; |
(void)printf("%2.0f ", (cur.cp_time[CP_USER] + cur.cp_time[CP_NICE]) * percent); |
(void)printf("%2.0f ", (cur.cp_time[CP_USER] + cur.cp_time[CP_NICE]) * percent); |
(void)printf("%2.0f ", (cur.cp_time[CP_SYS] + cur.cp_time[CP_INTR]) * percent); |
(void)printf("%2.0f ", (cur.cp_time[CP_SYS] + cur.cp_time[CP_SPIN] + cur.cp_time[CP_INTR]) * percent); |
(void)printf("%2.0f", cur.cp_time[CP_IDLE] * percent); |
(void)printf("%2.0f", cur.cp_time[CP_IDLE] * percent); |
} |
} |
|
|