Unit families understood by prettyPrint and prettyToDouble.
Declared in <folly/String.h>
enum PrettyType;
| Name | Description |
|---|---|
PRETTY_TIME | Time units: s, ms, us, ns, etc. |
PRETTY_TIME_HMS | Time units including hours and minutes. |
PRETTY_BYTES_METRIC | Byte units scaling by 1000 (kB, MB, GB). |
PRETTY_BYTES_BINARY | Byte units scaling by 1024 (kB, MB, GB). |
PRETTY_BYTES | Alias for PRETTY_BYTES_BINARY. |
PRETTY_BYTES_BINARY_IEC | IEC byte units (KiB, MiB, GiB). |
PRETTY_BYTES_IEC | Alias for PRETTY_BYTES_BINARY_IEC. |
PRETTY_UNITS_METRIC | Generic units scaling by 1000 (k, M, G). |
PRETTY_UNITS_BINARY | Generic units scaling by 1024 (k, M, G). |
PRETTY_UNITS_BINARY_IEC | Generic IEC units (Ki, Mi, Gi). |
PRETTY_SI | Full SI metric prefixes from yocto to Yotta. |
PRETTY_BITS_METRIC | Bit units scaling by 1000 (kb, Mb, Gb). |
PRETTY_BITS | Alias for PRETTY_BITS_METRIC. |
PRETTY_NUM_TYPES | Number of pretty types. |