mirror of
https://github.com/xzeldon/htop.git
synced 2025-07-14 21:14:35 +03:00
FreeBSD: implement Platform_getDiskIO()
This commit is contained in:

committed by
cgzones

parent
c91061c84b
commit
c2fdfd99eb
@ -311,11 +311,9 @@ char* Platform_getProcessEnv(pid_t pid) {
|
||||
return env;
|
||||
}
|
||||
|
||||
bool Platform_getDiskIO(unsigned long int *bytesRead,
|
||||
unsigned long int *bytesWrite,
|
||||
unsigned long int *msTimeSpend) {
|
||||
bool Platform_getDiskIO(DiskIOData* data) {
|
||||
// TODO
|
||||
*bytesRead = *bytesWrite = *msTimeSpend = 0;
|
||||
(void)data;
|
||||
return false;
|
||||
}
|
||||
|
||||
|
@ -11,6 +11,7 @@ in the source distribution for its full text.
|
||||
#include "Action.h"
|
||||
#include "SignalsPanel.h"
|
||||
#include "CPUMeter.h"
|
||||
#include "DiskIOMeter.h"
|
||||
#include "BatteryMeter.h"
|
||||
#include "DarwinProcess.h"
|
||||
|
||||
@ -48,9 +49,7 @@ void Platform_setZfsCompressedArcValues(Meter* this);
|
||||
|
||||
char* Platform_getProcessEnv(pid_t pid);
|
||||
|
||||
bool Platform_getDiskIO(unsigned long int *bytesRead,
|
||||
unsigned long int *bytesWrite,
|
||||
unsigned long int *msTimeSpend);
|
||||
bool Platform_getDiskIO(DiskIOData* data);
|
||||
|
||||
bool Platform_getNetworkIO(unsigned long int *bytesReceived,
|
||||
unsigned long int *packetsReceived,
|
||||
|
Reference in New Issue
Block a user