mirror of
https://github.com/xzeldon/htop.git
synced 2025-07-14 13:04:35 +03:00
Add DiskIOMeter for IO read/write usage
This commit is contained in:

committed by
cgzones

parent
6f387008cb
commit
e518459981
@ -286,3 +286,8 @@ char* Platform_getProcessEnv(pid_t pid) {
|
||||
(void) kvm_close(kt);
|
||||
return env;
|
||||
}
|
||||
|
||||
void Platform_getDiskIO(unsigned long int *bytesRead, unsigned long int *bytesWrite, unsigned long int *msTimeSpend) {
|
||||
// TODO
|
||||
*bytesRead = *bytesWrite = *msTimeSpend = 0;
|
||||
}
|
||||
|
@ -43,4 +43,6 @@ void Platform_setTasksValues(Meter* this);
|
||||
|
||||
char* Platform_getProcessEnv(pid_t pid);
|
||||
|
||||
void Platform_getDiskIO(unsigned long int *bytesRead, unsigned long int *bytesWrite, unsigned long int *msTimeSpend);
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user