From 86a80d12140da4076ddc7965047cc3ffc180f100 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cezary=20Skrzy=C5=84ski?= Date: Mon, 21 Dec 2020 11:26:05 +0100 Subject: [PATCH] #1111: backport: memory units --- src/vt/utils/memory/memory_units.h | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/src/vt/utils/memory/memory_units.h b/src/vt/utils/memory/memory_units.h index d542a14637..1fe2266d4f 100644 --- a/src/vt/utils/memory/memory_units.h +++ b/src/vt/utils/memory/memory_units.h @@ -52,10 +52,15 @@ namespace vt { namespace util { namespace memory { enum struct MemoryUnitEnum : int8_t { - Bytes = 0, - Kilobytes = 1, - Megabytes = 2, - Gigabytes = 3 + Bytes = 0, + Kilobytes = 1, + Megabytes = 2, + Gigabytes = 3, + Terabytes = 4, + Petabytes = 5, + Exabytes = 6, + Zettabytes = 7, + Yottabytes = 8 }; std::string getMemoryUnitName(MemoryUnitEnum unit);