summaryrefslogtreecommitdiffstats
path: root/usr.bin/top/machine.h
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/top/machine.h')
-rw-r--r--usr.bin/top/machine.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/top/machine.h b/usr.bin/top/machine.h
index 55a6b8572c2..f4ce8c88581 100644
--- a/usr.bin/top/machine.h
+++ b/usr.bin/top/machine.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: machine.h,v 1.22 2018/09/22 16:50:35 millert Exp $ */
+/* $OpenBSD: machine.h,v 1.23 2018/09/26 17:23:13 cheloha Exp $ */
/*
* Top users/processes display for Unix
@@ -56,6 +56,7 @@ struct system_info {
* "active" */
int *procstates;
int64_t *cpustates;
+ int *cpuonline;
int *memory;
};
@@ -95,4 +96,5 @@ extern uid_t proc_owner(pid_t);
extern struct kinfo_proc *getprocs(int, int, int *);
int getncpu(void);
+int getncpuonline(void);
int getfscale(void);