2020-09-13 17:46:34 +00:00
|
|
|
#ifndef HEADER_DiskIOMeter
|
|
|
|
#define HEADER_DiskIOMeter
|
|
|
|
/*
|
2020-12-04 12:42:00 +00:00
|
|
|
htop - DiskIOMeter.h
|
|
|
|
(C) 2020 htop dev team
|
2020-10-05 07:51:32 +00:00
|
|
|
Released under the GNU GPLv2, see the COPYING file
|
2020-09-13 17:46:34 +00:00
|
|
|
in the source distribution for its full text.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "Meter.h"
|
|
|
|
|
2021-04-29 15:12:43 +00:00
|
|
|
|
2020-10-21 15:06:32 +00:00
|
|
|
typedef struct DiskIOData_ {
|
2021-03-02 01:09:29 +00:00
|
|
|
uint64_t totalBytesRead;
|
|
|
|
uint64_t totalBytesWritten;
|
|
|
|
uint64_t totalMsTimeSpend;
|
2020-10-21 15:06:32 +00:00
|
|
|
} DiskIOData;
|
|
|
|
|
2020-10-05 11:19:50 +00:00
|
|
|
extern const MeterClass DiskIOMeter_class;
|
2020-09-13 17:46:34 +00:00
|
|
|
|
|
|
|
#endif /* HEADER_DiskIOMeter */
|