diff options
author | Kevin Bracey <kevin@bracey.fi> | 2022-01-09 13:27:52 +0200 |
---|---|---|
committer | Ivan Shapovalov <intelfx@intelfx.name> | 2023-10-26 03:14:33 +0400 |
commit | 69a505d69cb69018b1581103e0dcbab5f7a0d6b1 (patch) | |
tree | 0353879bf12086f2bccde9140aa08a4d1966f186 /MemoryMeter.h | |
parent | 09934e6630621f05e8c339c0633ef9eb24f1fc2c (diff) |
Move shared memory next to used memory
Shared memory is less available than buffers, so move it
left next to used memory.
This is in preparation for including shared memory in the
basic "in use" for the bar text. It would not make sense
to sum a discontiguous region.
Diffstat (limited to 'MemoryMeter.h')
-rw-r--r-- | MemoryMeter.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/MemoryMeter.h b/MemoryMeter.h index b6568afc..e39b3bd3 100644 --- a/MemoryMeter.h +++ b/MemoryMeter.h @@ -11,9 +11,9 @@ in the source distribution for its full text. typedef enum { MEMORY_METER_USED = 0, - MEMORY_METER_BUFFERS = 1, - MEMORY_METER_SHARED = 2, - MEMORY_METER_COMPRESSED = 3, + MEMORY_METER_SHARED = 1, + MEMORY_METER_COMPRESSED = 2, + MEMORY_METER_BUFFERS = 3, MEMORY_METER_CACHE = 4, MEMORY_METER_AVAILABLE = 5, MEMORY_METER_ITEMCOUNT = 6, // number of entries in this enum |