summaryrefslogtreecommitdiffstats
path: root/Process.h
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2018-01-31 00:52:08 -0200
committerHisham Muhammad <hisham@gobolinux.org>2018-02-17 15:30:15 -0200
commit0cbdf8ba271d874d2efd3171cff0d4ebeabc087f (patch)
treecf613264b0935230b21ac46aeba34501ba152fca /Process.h
parentcf0c074cc8c7e6fe858d621ea59976d2159d51bf (diff)
Implemented various performance counters
Diffstat (limited to 'Process.h')
-rw-r--r--Process.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/Process.h b/Process.h
index 5179bb6f..ef84e980 100644
--- a/Process.h
+++ b/Process.h
@@ -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);

© 2014-2024 Faster IT GmbH | imprint | privacy policy