ZswapStats.h 431 B

12345678910111213141516171819
  1. #ifndef HEADER_ZswapStats
  2. #define HEADER_ZswapStats
  3. /*
  4. htop - ZswapStats.h
  5. (C) 2022 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 "ProcessTable.h"
  10. typedef struct ZswapStats_ {
  11. /* amount of RAM used by the zswap pool */
  12. memory_t usedZswapComp;
  13. /* amount of data stored inside the zswap pool */
  14. memory_t usedZswapOrig;
  15. } ZswapStats;
  16. #endif