mirror of
https://github.com/xzeldon/htop.git
synced 2024-12-24 23:15:46 +00:00
b41e4d9c54
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 |
||
---|---|---|
.. | ||
HugePageMeter.c | ||
HugePageMeter.h | ||
IOPriority.h | ||
IOPriorityPanel.c | ||
IOPriorityPanel.h | ||
LibSensors.c | ||
LibSensors.h | ||
LinuxProcess.c | ||
LinuxProcess.h | ||
LinuxProcessList.c | ||
LinuxProcessList.h | ||
Platform.c | ||
Platform.h | ||
PressureStallMeter.c | ||
PressureStallMeter.h | ||
ProcessField.h | ||
SELinuxMeter.c | ||
SELinuxMeter.h | ||
SystemdMeter.c | ||
SystemdMeter.h | ||
ZramMeter.c | ||
ZramMeter.h | ||
ZramStats.h |