MemoryMeter.h 559 B

123456789101112131415161718192021222324
  1. #ifndef HEADER_MemoryMeter
  2. #define HEADER_MemoryMeter
  3. /*
  4. htop - MemoryMeter.h
  5. (C) 2004-2011 Hisham H. Muhammad
  6. Released under the GNU GPLv2+, see the COPYING file
  7. in the source distribution for its full text.
  8. */
  9. #include "Meter.h"
  10. typedef enum {
  11. MEMORY_METER_USED = 0,
  12. MEMORY_METER_SHARED = 1,
  13. MEMORY_METER_COMPRESSED = 2,
  14. MEMORY_METER_BUFFERS = 3,
  15. MEMORY_METER_CACHE = 4,
  16. MEMORY_METER_AVAILABLE = 5,
  17. MEMORY_METER_ITEMCOUNT = 6, // number of entries in this enum
  18. } MemoryMeterValues;
  19. extern const MeterClass MemoryMeter_class;
  20. #endif