]> granicus.if.org Git - procps-ng/commit
top: adapt former PRETEND8CPUS #define as PRETEND48CPU
authorJim Warner <james.warner@comcast.net>
Sun, 24 May 2020 16:25:01 +0000 (11:25 -0500)
committerCraig Small <csmall@dropbear.xyz>
Thu, 28 May 2020 09:49:40 +0000 (19:49 +1000)
commit2ca99a2ee4538ea7662555b2190cf12064456542
tree9c827926ee645bfdac9a52fbc9cbc07ea7a0dfba
parentc2d10e7f0721b08503f2ed3c91659927f0176f32
top: adapt former PRETEND8CPUS #define as PRETEND48CPU

This patch simply allows for better testing of our two
new toggles: '4' (2 abreast) plus '!' (combined cpus).

It had previously been dropped under the newlib branch
since top no longer managed cpus. However, now that we
have those new toggles, it seemed worth the efforts to
once again re-imagine then implement such a provision.

Signed-off-by: Jim Warner <james.warner@comcast.net>
top/top.c
top/top.h