The Gaudi Framework
master (37c0b60a)
|
Helpers to stream duration objects with proper units. More...
Functions | |
template<typename T > | |
std::string | duration_unit (T) |
Return unit of std::chrono::duration. More... | |
template<> | |
std::string | duration_unit (std::chrono::nanoseconds) |
template<> | |
std::string | duration_unit (std::chrono::microseconds) |
template<> | |
std::string | duration_unit (std::chrono::milliseconds) |
template<> | |
std::string | duration_unit (std::chrono::seconds) |
template<> | |
std::string | duration_unit (std::chrono::minutes) |
template<> | |
std::string | duration_unit (std::chrono::hours) |
Helpers to stream duration objects with proper units.
This will become obsolete with C++20: https://en.cppreference.com/w/cpp/chrono/duration/operator_ltlt
|
inline |
Definition at line 61 of file ChronoIO.h.
|
inline |
Definition at line 41 of file ChronoIO.h.
|
inline |
Definition at line 46 of file ChronoIO.h.
|
inline |
Definition at line 56 of file ChronoIO.h.
|
inline |
Definition at line 36 of file ChronoIO.h.
|
inline |
Definition at line 51 of file ChronoIO.h.
|
inline |
Return unit of std::chrono::duration.
Definition at line 30 of file ChronoIO.h.