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-04 08:57:35 +0100
commit36d5018c0c3802ce430137f08ad72928cc92c03b (patch)
tree97390322379ce26dce198e734116e79cf60b877a /Process.h
parentf8d6560d714c99b010aeadee09924d636c83cd02 (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 5b8ffdba..708d3362 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:
@@ -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);

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