mirror of
https://github.com/xzeldon/htop.git
synced 2025-07-12 12:14:36 +03:00
OpenBSD: support offline CPUs and hot-swapping
This commit is contained in:

committed by
Benny Baumann

parent
f608fc5c8a
commit
edf236f9fc
@ -36,14 +36,14 @@ typedef struct CPUData_ {
|
||||
unsigned long long int intrPeriod;
|
||||
unsigned long long int idlePeriod;
|
||||
|
||||
unsigned int cpuIndex;
|
||||
bool online;
|
||||
} CPUData;
|
||||
|
||||
typedef struct OpenBSDProcessList_ {
|
||||
ProcessList super;
|
||||
kvm_t* kd;
|
||||
|
||||
CPUData* cpus;
|
||||
CPUData* cpuData;
|
||||
int cpuSpeed;
|
||||
|
||||
} OpenBSDProcessList;
|
||||
|
Reference in New Issue
Block a user