htop/linux
Christian Göttsche b41e4d9c54 Rework process field print functions
Make functions formatting data for a process field column less error
prone, unify interfaces and improve some internals.

* Process_printBytes
  - rename from Process_humanNumber
  - take number in bytes, not kilobytes
  - handle petabytes
  - increase buffer to avoid crashes when the passed value is
    ~ ULLONG_MAX

* Process_printKBytes
  - add wrapper for Process_printBytes taking kilobytes keeping -1 as
  special value

* Process_printCount
  - rename from Process_colorNumber

* Process_printTime
  - add coloring parameter as other print functions
  - improve coloring and formatting for larger times

* Process_printRate
  - rename from Process_outputRate
  - use local buffer instead of passed one; this function prints to the
    RichString after all
2021-04-26 18:02:58 +02:00
..
HugePageMeter.c Save text buffer in Meter 2021-03-04 23:57:45 +01:00
HugePageMeter.h Linux: handle hugepages 2021-01-19 18:06:48 +01:00
IOPriority.h Enclose macro arguments in parentheses 2020-10-28 19:57:10 +01:00
IOPriorityPanel.c Panel_new: reorder arguments 2021-01-04 23:12:43 +01:00
IOPriorityPanel.h Make all required includes explicit 2020-10-18 20:09:05 +02:00
LibSensors.c Correct spelling in comment 2021-03-24 19:27:57 +01:00
LibSensors.h Handle absence of package CPU temperature 2020-12-14 21:07:07 +01:00
LinuxProcess.c Rework process field print functions 2021-04-26 18:02:58 +02:00
LinuxProcess.h Rework TTY column 2021-04-14 17:29:56 +02:00
LinuxProcessList.c Linux: handle Shmem being part of Cached 2021-04-22 10:48:15 +02:00
LinuxProcessList.h Linux: overhaul memory partition 2021-02-07 12:41:52 +01:00
Platform.c Add read-only option 2021-04-14 17:21:43 +02:00
Platform.h Add read-only option 2021-04-14 17:21:43 +02:00
PressureStallMeter.c Use RichString_appendnAscii where possible 2021-04-26 17:51:45 +02:00
PressureStallMeter.h Mark remaining classes const 2020-10-13 14:56:01 +02:00
ProcessField.h Rework enum ProcessField 2020-12-19 21:13:32 +01:00
SELinuxMeter.c Drop unused attributes of actually used function parameters 2021-03-24 19:27:03 +01:00
SELinuxMeter.h Convert personal copyright authorship to team 2020-12-04 13:55:55 +01:00
SystemdMeter.c Use RichString_appendnAscii where possible 2021-04-26 17:51:45 +02:00
SystemdMeter.h Convert personal copyright authorship to team 2020-12-04 13:55:55 +01:00
ZramMeter.c Save text buffer in Meter 2021-03-04 23:57:45 +01:00
ZramMeter.h Zram Meter feature 2020-10-31 18:51:53 +01:00
ZramStats.h Linux: overhaul memory partition 2021-02-07 12:41:52 +01:00