diff options
author | Hisham Muhammad <hisham@gobolinux.org> | 2007-11-09 00:40:59 +0000 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2007-11-09 00:40:59 +0000 |
commit | 855d9eaf9abb82c4775c5be143e71c9de1cd22b3 (patch) | |
tree | e341c677065802ee5c8e7103259cb0b1eb2f5975 /htop.c | |
parent | b70b35ea659d9a859de3cb480580ceb98a6b63e0 (diff) |
IO-wait time now counts as idle time, which is a more
accurate description. It is still available in
split time, now called detailed CPU time.
(thanks to Samuel Thibault for the report)
Diffstat (limited to 'htop.c')
-rw-r--r-- | htop.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -63,13 +63,13 @@ void showHelp(ProcessList* pl) { mvaddstr(3, 0, "CPU usage bar: "); #define addattrstr(a,s) attrset(a);addstr(s) addattrstr(CRT_colors[BAR_BORDER], "["); - if (pl->expandSystemTime) { + if (pl->detailedCPUTime) { addattrstr(CRT_colors[CPU_NICE], "low"); addstr("/"); addattrstr(CRT_colors[CPU_NORMAL], "normal"); addstr("/"); addattrstr(CRT_colors[CPU_KERNEL], "kernel"); addstr("/"); - addattrstr(CRT_colors[CPU_IOWAIT], "io-wait"); addstr("/"); addattrstr(CRT_colors[CPU_IRQ], "irq"); addstr("/"); - addattrstr(CRT_colors[CPU_SOFTIRQ], "soft-irq"); + addattrstr(CRT_colors[CPU_SOFTIRQ], "soft-irq"); addstr("/"); + addattrstr(CRT_colors[CPU_IOWAIT], "io-wait"); addattrstr(CRT_colors[BAR_SHADOW], " used%"); } else { addattrstr(CRT_colors[CPU_NICE], "low-priority"); addstr("/"); |