top: extend end-of-job report to reflect unused fields

In anticipation of adding some smaps_rollup stuff, our
end-of-job report will now offer some insight into the
current unused entries for a window's fieldscur array.

Signed-off-by: Jim Warner <james.warner@comcast.net>
This commit is contained in:
Jim Warner 2021-04-25 00:00:00 -05:00 committed by Craig Small
parent 2461bb5bc1
commit 4153e72921

View File

@ -377,6 +377,7 @@ static void bye_bye (const char *str) {
"\n\t sortindx = %d, maxtasks = %d"
"\n\t varcolsz = %d, winlines = %d"
"\n\t strlen(columnhdr) = %d"
"\n\t current fieldscur = %d, maximum fieldscur = %d"
"\n"
, __func__
, PACKAGE_STRING
@ -404,6 +405,7 @@ static void bye_bye (const char *str) {
, Curwin->rc.sortindx, Curwin->rc.maxtasks
, Curwin->varcolsz, Curwin->winlines
, (int)strlen(Curwin->columnhdr)
, EU_MAXPFLGS, (int)strlen(Curwin->rc.fieldscur)
);
}
}