=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/top/machine.h,v retrieving revision 1.22 retrieving revision 1.23 diff -u -r1.22 -r1.23 --- src/usr.bin/top/machine.h 2018/09/22 16:50:35 1.22 +++ src/usr.bin/top/machine.h 2018/09/26 17:23:13 1.23 @@ -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 @@ * "active" */ int *procstates; int64_t *cpustates; + int *cpuonline; int *memory; }; @@ -95,4 +96,5 @@ extern struct kinfo_proc *getprocs(int, int, int *); int getncpu(void); +int getncpuonline(void); int getfscale(void);