diff options
Diffstat (limited to 'contrib/top/machine.h')
-rw-r--r-- | contrib/top/machine.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/contrib/top/machine.h b/contrib/top/machine.h index 10c69ca..4584650 100644 --- a/contrib/top/machine.h +++ b/contrib/top/machine.h @@ -20,6 +20,7 @@ struct statics #ifdef ORDER char **order_names; #endif + int ncpus; }; /* @@ -43,6 +44,8 @@ struct system_info int *memory; int *swap; struct timeval boottime; + unsigned long cpumask; /* bitfield of cpu states represented */ + int ncpus; }; /* cpu_states is an array of percentages * 10. For example, |