diff options
author | Benny Baumann <BenBE@geshi.org> | 2022-02-27 20:29:40 +0100 |
---|---|---|
committer | BenBE <BenBE@geshi.org> | 2022-03-06 19:56:25 +0100 |
commit | edf319e53d1fb77546505e238d75160a3febe56e (patch) | |
tree | c735eef42730d65228958c2e104817ae7362e614 /Process.h | |
parent | b6c0667eae104521e71ab9c4f4a785e386bce3e5 (diff) |
Auto-size (normalized) CPU usage columns
Diffstat (limited to 'Process.h')
-rw-r--r-- | Process.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -372,7 +372,7 @@ void Process_fillStarttimeBuffer(Process* this); void Process_printLeftAlignedField(RichString* str, int attr, const char* content, unsigned int width); -void Process_printPercentage(float val, char* buffer, int n, int* attr); +void Process_printPercentage(float val, char* buffer, int n, uint8_t width, int* attr); void Process_display(const Object* cast, RichString* out); @@ -412,5 +412,6 @@ void Process_writeCommand(const Process* this, int attr, int baseAttr, RichStrin void Process_resetFieldWidths(void); void Process_updateFieldWidth(ProcessField key, size_t width); +void Process_updateCPUFieldWidths(float percentage); #endif |