diff options
author | Marek Polacek <mmpolacek@gmail.com> | 2010-07-30 16:43:11 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2010-07-30 16:43:11 +0200 |
commit | 85a359afab4743e68977086bddac301ef0675ee1 (patch) | |
tree | ebd70751245449a64e507968dbe99a90b04a0ce3 /shell/bbsh.c | |
parent | 3fb4a5e6d86e52014502391d8dca25befa4ff9b4 (diff) | |
download | busybox-85a359afab4743e68977086bddac301ef0675ee1.tar.gz |
mpstat: do not use /sys to get number of CPUs. /proc should be ok.
function old new delta
get_cpu_nr - 137 +137
mpstat_main 1140 1131 -9
get_proc_cpu_nr 137 - -137
get_sys_cpu_nr 178 - -178
------------------------------------------------------------------------------
(add/remove: 1/2 grow/shrink: 0/1 up/down: 137/-324) Total: -187 bytes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell/bbsh.c')
0 files changed, 0 insertions, 0 deletions