summaryrefslogtreecommitdiffstats
path: root/linux/ZramMeter.c
Commit message (Collapse)AuthorAgeFilesLines
* Relocate include of config.h from header to source modeuleBenny Baumann2023-12-261-0/+2
|
* Merge branch 'style-header-consistency' of https://github.com/BenBE/htop ↵Nathan Scott2023-10-101-0/+8
|\ | | | | | | into BenBE-style-header-consistency
| * Add missing copyright/file headersBenny Baumann2023-05-251-0/+8
| |
* | Rework ZramMeter and remove MeterClass.comprisedValuesExplorer092023-08-291-3/+4
|/ | | | | | | | | | | | 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>
* ZramMeter: update bar modeChristian Göttsche2023-04-111-10/+10
| | | | | | Show both compressed and uncompressed bars. Closes: #1216
* platform-dependent files included relative to main source directorymayurdahibhate2021-05-101-1/+1
|
* cleaned up includes with iwyumayurdahibhate2021-05-101-0/+2
|
* Save text buffer in MeterChristian Göttsche2021-03-041-1/+3
|
* Split RichString_(append|appendn|write) into wide and asciiChristian Göttsche2020-12-081-6/+8
| | | | | | | | RichString_writeFrom takes a top spot during performance analysis due to the calls to mbstowcs() and iswprint(). Most of the time we know in advance that we are only going to print regular ASCII characters.
* Introduce METER_BUFFER_CHECK and METER_BUFFER_APPEND_CHR to cleanup writing ↵Christian Göttsche2020-12-061-25/+10
| | | | | | to bar buffers Closes: #294
* Use size_t as len type for Meter_UpdateValuesChristian Göttsche2020-12-061-5/+9
| | | | Most of the time the parameter is passed to snprintf type functions
* IWYU update (Linux)Christian Göttsche2020-11-191-0/+3
|
* Spacing after keywords (if)Benny Baumann2020-11-021-3/+3
|
* Zram Meter featureMurloc Knight2020-10-311-0/+75

© 2014-2024 Faster IT GmbH | imprint | privacy policy