DiskIOMeter.h 454 B

1234567891011121314151617181920212223
  1. #ifndef HEADER_DiskIOMeter
  2. #define HEADER_DiskIOMeter
  3. /*
  4. htop - DiskIOMeter.h
  5. (C) 2020 htop dev team
  6. Released under the GNU GPLv2+, see the COPYING file
  7. in the source distribution for its full text.
  8. */
  9. #include <stdint.h>
  10. #include "Meter.h"
  11. typedef struct DiskIOData_ {
  12. uint64_t totalBytesRead;
  13. uint64_t totalBytesWritten;
  14. uint64_t totalMsTimeSpend;
  15. } DiskIOData;
  16. extern const MeterClass DiskIOMeter_class;
  17. #endif /* HEADER_DiskIOMeter */