aboutsummaryrefslogtreecommitdiff
path: root/core/runtime
diff options
context:
space:
mode:
authorLaytan Laats <laytanlaats@hotmail.com>2023-09-01 16:21:43 +0200
committerLaytan Laats <laytanlaats@hotmail.com>2023-09-01 19:17:07 +0200
commit735cfcd29011ea9188b008e3389aa236529f0e5f (patch)
tree51d7480bc5d54bc8643148aa29bebdc0792d158a /core/runtime
parent4aa4317c286a59c1ce16cb45189c9bd372e28a63 (diff)
Add formatting of bytes into the best unit of measurement
Diffstat (limited to 'core/runtime')
-rw-r--r--core/runtime/core.odin2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/runtime/core.odin b/core/runtime/core.odin
index 4f85cf50e..0634f573a 100644
--- a/core/runtime/core.odin
+++ b/core/runtime/core.odin
@@ -337,6 +337,8 @@ Kilobyte :: 1024 * Byte
Megabyte :: 1024 * Kilobyte
Gigabyte :: 1024 * Megabyte
Terabyte :: 1024 * Gigabyte
+Petabyte :: 1024 * Terabyte
+Exabyte :: 1024 * Petabyte
// Logging stuff