class
#include <eckit/log/Bytes.h>
Bytes
Public static functions
- static auto KiB(unsigned long long n) -> unsigned long long
- static auto MiB(unsigned long long n) -> unsigned long long
- static auto GiB(unsigned long long n) -> unsigned long long
- static auto TiB(unsigned long long n) -> unsigned long long
- static auto PiB(unsigned long long n) -> unsigned long long
- static auto EiB(unsigned long long n) -> unsigned long long
- static auto ZiB(unsigned long long n) -> unsigned long long
- static auto YiB(unsigned long long n) -> unsigned long long
- static auto rate(double num, double den) -> double
- Handle rate computations avoiding floating point exceptions.
Constructors, destructors, conversion operators
- Bytes(double)
- Bytes(double, Timer&)
- Computes a rate.
- Bytes(double, double)
- Computes a rate.
- operator std::string() const
Public functions
- auto value() const -> double
-
auto shorten() const -> std::
string
Friends
-
auto operator<<(std::
ostream&, const Bytes&) -> std:: ostream&