* Output manipulator for printing `TDuration` values. * * When written into a `IOutputStream`, writes out the provided `TDuration` * in auto-adjusted human-readable format. * * Example usage: * @code * stream << HumanReadable(TDuration::MicroSeconds(100)); // Will output "100us" * stream << HumanReadable(TDuration::Seconds(3672)); // Will output "1h 1m 12s" * @endcode * * @param
| 400 | * @param value Value to output. |
| 401 | */ |
| 402 | static constexpr ::NFormatPrivate::THumanReadableDuration HumanReadable(const TDuration duration) noexcept { |
| 403 | return ::NFormatPrivate::THumanReadableDuration(duration); |
| 404 | } |
| 405 | |
| 406 | /** |
| 407 | * Output manipulator for writing out human-readable number of elements / memory |
no test coverage detected