mirror of https://github.com/xzeldon/htop.git
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->systemPercent = cp_time_p[CP_SYS];
|
||||||
cpuData->irqPercent = cp_time_p[CP_INTR];
|
cpuData->irqPercent = cp_time_p[CP_INTR];
|
||||||
cpuData->systemAllPercent = cp_time_p[CP_SYS] + 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
|
// this one is not really used
|
||||||
cpuData->idlePercent = cp_time_p[CP_IDLE];
|
//cpuData->idlePercent = cp_time_p[CP_IDLE];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -25,7 +25,6 @@ typedef struct CPUData_ {
|
||||||
double nicePercent;
|
double nicePercent;
|
||||||
double systemPercent;
|
double systemPercent;
|
||||||
double irqPercent;
|
double irqPercent;
|
||||||
double idlePercent;
|
|
||||||
double systemAllPercent;
|
double systemAllPercent;
|
||||||
} CPUData;
|
} CPUData;
|
||||||
|
|
||||||
|
@ -35,8 +34,6 @@ typedef struct FreeBSDProcessList_ {
|
||||||
|
|
||||||
unsigned long long int memWire;
|
unsigned long long int memWire;
|
||||||
unsigned long long int memActive;
|
unsigned long long int memActive;
|
||||||
unsigned long long int memInactive;
|
|
||||||
unsigned long long int memFree;
|
|
||||||
|
|
||||||
ZfsArcStats zfs;
|
ZfsArcStats zfs;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue