top: improve global CPU percentage (smaller & faster code)

This commit is contained in:
Denis Vlasenko
2007-06-10 18:04:54 +00:00
parent 5a65447e30
commit b1e5addfed
2 changed files with 16 additions and 8 deletions

View File

@@ -109,11 +109,11 @@ config FEATURE_TOP_CPU_USAGE_PERCENTAGE
Make top display CPU usage for each process.
config FEATURE_TOP_CPU_GLOBAL_PERCENTS
bool "Show CPU global usage percentage (adds 1k byte)"
bool "Show CPU global usage percentage (adds 0.5k byte)"
default y
depends on FEATURE_TOP_CPU_USAGE_PERCENTAGE
help
Makes top display "CPU: n.n% us n.n% sy n.n% ni..." line.
Makes top display "CPU: NN% usr NN% sys..." line.
config UPTIME
bool "uptime"