htop/pcp
Nathan Scott 01f5b89278 Pretty-print values in the PCP DynamicMeter code
Several improvements to the way values are displayed in the
PCP platform DynamicMeter implementation:
- handle the initial 'caption' setting as with regular meters,
  this required a new meter callback because we no longer have
  just a single meter caption for the DynamicMeter case
- if no label is provided for a metric in a configuration file
  use the short form metric name as a fallback
- honour the suffix setting in the configuration file
- convert metric values to the canonical units for htop (kbyte
  and seconds), and use Meter_humanUnit when it makes sense to
  do so.

Also improves the handling of fatal string error messages in a
couple of places, thanks to BenBE for the review feedback.
2021-07-08 10:56:05 +10:00
..
meters Pretty-print values in the PCP DynamicMeter code 2021-07-08 10:56:05 +10:00
PCPDynamicMeter.c Pretty-print values in the PCP DynamicMeter code 2021-07-08 10:56:05 +10:00
PCPDynamicMeter.h Add a new DynamicMeter class for runtime Meter extension 2021-07-07 10:59:36 +10:00
PCPProcess.c PCP: Fix minor cut+paste typo 2021-06-30 07:45:47 +02:00
PCPProcess.h Update the PCP platform to use common Process fields and code 2021-06-09 17:09:29 +10:00
PCPProcessList.c Add a new DynamicMeter class for runtime Meter extension 2021-07-07 10:59:36 +10:00
PCPProcessList.h Add a new DynamicMeter class for runtime Meter extension 2021-07-07 10:59:36 +10:00
Platform.c Add more defensive checks to PCP paths if sampling fails 2021-07-07 14:00:36 +10:00
Platform.h Add a new DynamicMeter class for runtime Meter extension 2021-07-07 10:59:36 +10:00
ProcessField.h Update the PCP platform to use common Process fields and code 2021-06-09 17:09:29 +10:00