diff options
author | Hisham Muhammad <hisham@gobolinux.org> | 2018-01-31 00:52:08 -0200 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2018-02-04 08:57:35 +0100 |
commit | 36d5018c0c3802ce430137f08ad72928cc92c03b (patch) | |
tree | 97390322379ce26dce198e734116e79cf60b877a /Process.h | |
parent | f8d6560d714c99b010aeadee09924d636c83cd02 (diff) |
Implemented various performance counters
Diffstat (limited to 'Process.h')
-rw-r--r-- | Process.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -129,7 +129,7 @@ typedef struct ProcessFieldData_ { const char* name; const char* title; const char* description; - int flags; + uint64_t flags; } ProcessFieldData; // Implemented in platform-specific code: @@ -174,6 +174,8 @@ void Process_printTime(RichString* str, unsigned long long totalHundredths); void Process_outputRate(RichString* str, char* buffer, int n, double rate, int coloring); +void Process_printPercentage(float val, char* buffer, int n, int* attr); + void Process_writeField(Process* this, RichString* str, ProcessField field); void Process_display(Object* cast, RichString* out); |