diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-07-15 19:27:48 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-07-15 19:27:48 +0000 |
commit | 110967a6f7b214eb8a3b78f9a3e09a0de6412a88 (patch) | |
tree | 29587da99dcc10c5a851e7299a5fa6df43da1d1b /procps/Config.in | |
parent | 24c5fbaf42158d54ec9c334174c267e9c1c84f4c (diff) | |
download | busybox-w32-110967a6f7b214eb8a3b78f9a3e09a0de6412a88.tar.gz busybox-w32-110967a6f7b214eb8a3b78f9a3e09a0de6412a88.tar.bz2 busybox-w32-110967a6f7b214eb8a3b78f9a3e09a0de6412a88.zip |
top: nested function allows us to reuse some code
(not everyone likes them - but code does get smaller).
display_generic - 761 +761
static.fmt_100percent_8 - 111 +111
fmt_100percent_8 101 - -101
display_status 1489 581 -908
------------------------------------------------------------------------------
(add/remove: 2/1 grow/shrink: 0/1 up/down: 872/-1009) Total: -137 bytes
text data bss dec hex filename
677020 3344 13936 694300 a981c busybox_old
676876 3344 13936 694156 a978c busybox_unstripped
Diffstat (limited to 'procps/Config.in')
-rw-r--r-- | procps/Config.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/procps/Config.in b/procps/Config.in index b834fbf96..f041b5d72 100644 --- a/procps/Config.in +++ b/procps/Config.in | |||
@@ -122,7 +122,7 @@ config FEATURE_TOP_CPU_GLOBAL_PERCENTS | |||
122 | Makes top display "CPU: NN% usr NN% sys..." line. | 122 | Makes top display "CPU: NN% usr NN% sys..." line. |
123 | 123 | ||
124 | config FEATURE_TOP_DECIMALS | 124 | config FEATURE_TOP_DECIMALS |
125 | bool "Show 1/10th of a percent in CPU/mem statistics (adds 0.5k bytes)" | 125 | bool "Show 1/10th of a percent in CPU/mem statistics (adds 0.3k bytes)" |
126 | default n | 126 | default n |
127 | depends on FEATURE_TOP_CPU_USAGE_PERCENTAGE | 127 | depends on FEATURE_TOP_CPU_USAGE_PERCENTAGE |
128 | help | 128 | help |