diff options
author | Christian Göttsche <cgzones@googlemail.com> | 2021-12-04 18:08:59 +0100 |
---|---|---|
committer | BenBE <BenBE@geshi.org> | 2021-12-08 19:08:20 +0100 |
commit | 63fafb4844dd619793ba1d318e2b06518666dd37 (patch) | |
tree | 43b95da47cb0eb61b2accc183d5bfed3fadd13fa /Meter.h | |
parent | 3cfdf66d9aecb463026d1227a8ba159edd4e1cbd (diff) |
IOMeters: rework initial display
Show a non highlighted string at the start of htop, not the failure
text.
Also the original fix only handled the text mode, not the bar mode.
Improves: 2977414d ("Discard stale information from DiskIO and NetworkIO meters")
Related: #860
Diffstat (limited to 'Meter.h')
-rw-r--r-- | Meter.h | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -134,6 +134,13 @@ typedef enum { LAST_METERMODE } MeterModeId; +typedef enum { + RATESTATUS_DATA, + RATESTATUS_INIT, + RATESTATUS_NODATA, + RATESTATUS_STALE +} MeterRateStatus; + extern const MeterClass Meter_class; Meter* Meter_new(const ProcessList* pl, unsigned int param, const MeterClass* type); |