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-26 20:13:09 -0300
commita72439c9b73fbd6255dcec844332356ab3028a6d (patch)
tree93f8c5ff55d68349a6f650491f2c3e85f98bfc1f /Process.h
parent61e94c1b5b32a8c4c6db1c8037412ac1ac727833 (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 fda8480a..f70a4480 100644
--- a/Process.h
+++ b/Process.h
@@ -134,7 +134,7 @@ typedef struct ProcessFieldData_ {
const char* name;
const char* title;
const char* description;
- int flags;
+ uint64_t flags;
} ProcessFieldData;
// Implemented in platform-specific code:
@@ -181,6 +181,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