mirror of
https://github.com/xzeldon/htop.git
synced 2024-12-23 22:55:46 +00:00
FreeBSD: drop unused ProcessList fields
This commit is contained in:
parent
fa499fc155
commit
56c4055fd1
@ -250,8 +250,8 @@ static inline void FreeBSDProcessList_scanCPUTime(ProcessList* pl) {
|
||||
cpuData->systemPercent = cp_time_p[CP_SYS];
|
||||
cpuData->irqPercent = cp_time_p[CP_INTR];
|
||||
cpuData->systemAllPercent = cp_time_p[CP_SYS] + cp_time_p[CP_INTR];
|
||||
// this one is not really used, but we store it anyway
|
||||
cpuData->idlePercent = cp_time_p[CP_IDLE];
|
||||
// this one is not really used
|
||||
//cpuData->idlePercent = cp_time_p[CP_IDLE];
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -25,7 +25,6 @@ typedef struct CPUData_ {
|
||||
double nicePercent;
|
||||
double systemPercent;
|
||||
double irqPercent;
|
||||
double idlePercent;
|
||||
double systemAllPercent;
|
||||
} CPUData;
|
||||
|
||||
@ -35,8 +34,6 @@ typedef struct FreeBSDProcessList_ {
|
||||
|
||||
unsigned long long int memWire;
|
||||
unsigned long long int memActive;
|
||||
unsigned long long int memInactive;
|
||||
unsigned long long int memFree;
|
||||
|
||||
ZfsArcStats zfs;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user