| commit | 25cb42f0e4be70f02dc094d81e033ba21ec18b27 | [log] [tgz] |
|---|---|---|
| author | Explorer09 <explorer09@gmail.com> | Sat Aug 26 16:56:06 2023 +0800 |
| committer | cgzones <cgzones@googlemail.com> | Tue Aug 29 21:47:56 2023 +0200 |
| tree | 98bfff2502ecee0a09800f034cb960ad862db0b2 | |
| parent | 8ecdb75d74c393895c68be7a311db959b1f373e9 [diff] |
Rework ZramMeter and remove MeterClass.comprisedValues The 'comprisedValues' boolean property unnecessarily complicates the drawing algorithms of Bar meters and Graph meters. Since the only user of 'comprisedValues' is ZramMeter, it is better to rework the meter so that it no longer needs 'comprisedValues'. The 'values[ZRAM_METER_UNCOMPRESSED]' now stores the difference between uncompressed and compressed data size. Signed-off-by: Kang-Che Sung <explorer09@gmail.com>