Skip to content

Commit

Permalink
#1111: backport: memory units
Browse files Browse the repository at this point in the history
  • Loading branch information
cz4rs committed Dec 21, 2020
1 parent 3d70940 commit 86a80d1
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions src/vt/utils/memory/memory_units.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 86a80d1

Please sign in to comment.