aboutsummaryrefslogtreecommitdiff
path: root/contrib/top/top.h
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>2008-01-18 01:43:14 +0000
committerPeter Wemm <peter@FreeBSD.org>2008-01-18 01:43:14 +0000
commit031175705e680c9646cd915cea2f4f4436dbf1a5 (patch)
tree75cd88d63d25954bc6c8db1fe30b1e7fa9322f7e /contrib/top/top.h
parent905925d349a2ac1a70db39cd6de88d7f66f690cc (diff)
downloadsrc-031175705e680c9646cd915cea2f4f4436dbf1a5.tar.gz
src-031175705e680c9646cd915cea2f4f4436dbf1a5.zip
Add a -P flag to display per-cpu cpu usage stats.
Notes
Notes: svn path=/head/; revision=175420
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 2b32d1007fd3..a281957c34bd 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;