summaryrefslogtreecommitdiffstats
path: root/contrib/top/top.h
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2008-01-18 01:43:14 +0000
committerpeter <peter@FreeBSD.org>2008-01-18 01:43:14 +0000
commit368d76456bba0368457c8068937a2ba4ea81033e (patch)
tree75cd88d63d25954bc6c8db1fe30b1e7fa9322f7e /contrib/top/top.h
parentf99e03f7fe903970489c85fbae5965ef79f8d6c5 (diff)
downloadFreeBSD-src-368d76456bba0368457c8068937a2ba4ea81033e.zip
FreeBSD-src-368d76456bba0368457c8068937a2ba4ea81033e.tar.gz
Add a -P flag to display per-cpu cpu usage stats.
Diffstat (limited to 'contrib/top/top.h')
-rw-r--r--contrib/top/top.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/contrib/top/top.h b/contrib/top/top.h
index 2b32d10..a281957 100644
--- a/contrib/top/top.h
+++ b/contrib/top/top.h
@@ -11,7 +11,7 @@
#define VERSION 3
/* Number of lines of header information on the standard screen */
-#define Header_lines 7
+extern int Header_lines; /* 7 */
/* Maximum number of columns allowed for display */
#define MAX_COLS 128
@@ -45,3 +45,5 @@ enum displaymodes { DISP_CPU = 0, DISP_IO, DISP_MAX };
#define FMT_SHOWARGS 0x00000001
extern enum displaymodes displaymode;
+
+extern int pcpu_stats;
OpenPOWER on IntegriCloud