1 /* 2 * This file Copyright (C) 2012-2014 Mnemosyne LLC 3 * 4 * It may be used under the GNU GPL versions 2 or 3 5 * or any future license endorsed by Mnemosyne LLC. 6 * 7 */ 8 9 #pragma once 10 11 #define MEM_K 1024 12 #define MEM_K_STR "KiB" 13 #define MEM_M_STR "MiB" 14 #define MEM_G_STR "GiB" 15 #define MEM_T_STR "TiB" 16 17 #define DISK_K 1000 18 #define DISK_B_STR "B" 19 #define DISK_K_STR "kB" 20 #define DISK_M_STR "MB" 21 #define DISK_G_STR "GB" 22 #define DISK_T_STR "TB" 23 24 #define SPEED_K 1000 25 #define SPEED_B_STR "B/s" 26 #define SPEED_K_STR "kB/s" 27 #define SPEED_M_STR "MB/s" 28 #define SPEED_G_STR "GB/s" 29 #define SPEED_T_STR "TB/s" 30