top: reposition call to cpus_refresh() for consistency

Signed-off-by: Jim Warner <james.warner@comcast.net>
This commit is contained in:
Jim Warner 2021-08-23 00:00:00 -05:00 committed by Craig Small
parent 97ef7fe504
commit 2c3b251b11

View File

@ -6037,8 +6037,6 @@ static void summary_show (void) {
, Frame_stopped, Frame_zombied)); , Frame_stopped, Frame_zombied));
Msg_row += 1; Msg_row += 1;
cpus_refresh();
if (CHKw(w, View_CPUNOD)) { if (CHKw(w, View_CPUNOD)) {
if (Numa_node_sel < 0) { if (Numa_node_sel < 0) {
// display the 1st /proc/stat line, then the nodes (if room) // display the 1st /proc/stat line, then the nodes (if room)
@ -6687,6 +6685,7 @@ static void frame_make (void) {
sysinfo_refresh(0); sysinfo_refresh(0);
procs_refresh(); procs_refresh();
cpus_refresh();
Tree_idx = Pseudo_row = Msg_row = scrlins = 0; Tree_idx = Pseudo_row = Msg_row = scrlins = 0;
summary_show(); summary_show();