busybox/procps
Denys Vlasenko d80302db99 top: switch to malloced "globals".
This seems to be more efficient:

function                                             old     new   delta
clearmems                                              -      28     +28
display_process_list                                1001    1018     +17
read_cpu_jiffy                                       171     177      +6
do_stats                                             194     198      +4
reset_term                                            20      23      +3
topmem_sort                                           63      65      +2
mult_lvl_cmp                                          44      45      +1
get_jiffy_counts                                     247     248      +1
display_topmem_process_list                          549     546      -3
top_main                                             912     879     -33
handle_input                                         630     549     -81
------------------------------------------------------------------------------
(add/remove: 1/0 grow/shrink: 7/3 up/down: 62/-117)           Total: -55 bytes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2017-08-16 11:40:10 +02:00
..
Config.src config: deindent all help texts 2017-07-21 09:50:55 +02:00
free.c free,stat: make NOEXEC 2017-08-07 18:18:09 +02:00
fuser.c getopt32: remove opt_complementary 2017-08-08 21:55:02 +02:00
iostat.c getopt32: remove opt_complementary 2017-08-08 21:55:02 +02:00
Kbuild.src kill: optimizations for single-applet build 2017-01-09 18:46:58 +01:00
kill.c new NOFORKs: pwdx,kill[all5],ttysize,realpath,readlink NOEXECs: date,resize 2017-08-03 19:03:32 +02:00
lsof.c config: deindent all help texts 2017-07-21 09:50:55 +02:00
mpstat.c nameif: make it NOEXEC 2017-08-06 14:15:24 +02:00
nmeter.c config: deindent all help texts 2017-07-21 09:50:55 +02:00
pgrep.c free,stat: make NOEXEC 2017-08-07 18:18:09 +02:00
pidof.c free,stat: make NOEXEC 2017-08-07 18:18:09 +02:00
pmap.c getopt32: remove opt_complementary 2017-08-08 21:55:02 +02:00
powertop.c config: deindent all help texts 2017-07-21 09:50:55 +02:00
ps.c ps: improve TIME column for large times: showing "14453:50" is not good 2017-08-10 15:02:16 +02:00
ps.posix ps: add documentation on POSIX ps 2006-11-05 00:47:38 +00:00
pstree.c getopt32: remove opt_complementary 2017-08-08 21:55:02 +02:00
pwdx.c getopt32: remove opt_complementary 2017-08-08 21:55:02 +02:00
smemcap.c config: deindent all help texts 2017-07-21 09:50:55 +02:00
sysctl.c sysctl: make it NOEXEC 2017-08-05 18:23:10 +02:00
top.c top: switch to malloced "globals". 2017-08-16 11:40:10 +02:00
uptime.c users,w,who,uptime,renice: make NOEXEC 2017-08-07 16:47:34 +02:00
watch.c getopt32: remove opt_complementary 2017-08-08 21:55:02 +02:00