summaryrefslogtreecommitdiffstats
path: root/Process.h
diff options
context:
space:
mode:
authoradrien1018 <adrien1018@users.noreply.github.com>2018-12-30 20:18:35 +0800
committeradrien1018 <adrien1018@users.noreply.github.com>2018-12-30 20:18:35 +0800
commit536941fb238a63961828300eb4cfa303c6664f63 (patch)
tree6000ea02fb8c773b2038101f7ff67a1e85e70540 /Process.h
parentf15d55c972afff12b934c2347d07fa8a2991c264 (diff)
Deal with larger numbers in colorNumber and outputRate
Diffstat (limited to 'Process.h')
-rw-r--r--Process.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Process.h b/Process.h
index f702ca00..26e93803 100644
--- a/Process.h
+++ b/Process.h
@@ -166,10 +166,12 @@ typedef struct ProcessClass_ {
#define ONE_K 1024L
#define ONE_M (ONE_K * ONE_K)
#define ONE_G (ONE_M * ONE_K)
+#define ONE_T ((long long)ONE_G * ONE_K)
#define ONE_DECIMAL_K 1000L
#define ONE_DECIMAL_M (ONE_DECIMAL_K * ONE_DECIMAL_K)
#define ONE_DECIMAL_G (ONE_DECIMAL_M * ONE_DECIMAL_K)
+#define ONE_DECIMAL_T ((long long)ONE_DECIMAL_G * ONE_DECIMAL_K)
extern char Process_pidFormat[20];

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