diff options
author | Hisham Muhammad <hisham@gobolinux.org> | 2018-01-31 00:52:08 -0200 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2018-02-17 15:30:15 -0200 |
commit | 0cbdf8ba271d874d2efd3171cff0d4ebeabc087f (patch) | |
tree | cf613264b0935230b21ac46aeba34501ba152fca /Process.h | |
parent | cf0c074cc8c7e6fe858d621ea59976d2159d51bf (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: @@ -176,6 +176,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); |