Unit helper macros. More...
Unit helper macros.
Definition in file units.h.
 This graph shows which files directly or indirectly include this file:Go to the source code of this file.
| #define | KiB(x) ((unsigned long)(x) << 10) | 
| A macro to return the bytes in x KiB.  | |
| #define | MiB(x) (KiB(x) << 10) | 
| A macro to return the bytes in x MiB.  | |
| #define | GiB(x) ((unsigned long long)MiB(x) << 10) | 
| A macro to return the bytes in x GiB.  | |
| #define | KHZ(x) ((x) * 1000UL) | 
| A macro to return the Hz in x kHz.  | |
| #define | MHZ(x) (KHZ(x) * 1000UL) | 
| A macro to return the Hz in x MHz.  | |
| #define | GHZ(x) (MHZ(x) * 1000ULL) | 
| A macro to return the Hz in x GHz.  | |