|
std::ostream & | operator<< (std::ostream &os, const std::chrono::system_clock::time_point &t) |
| Overloads the << operator for time_point.
|
|
std::ostream & | operator<< (std::ostream &os, const timespec &ts) |
| Overloads the << operator for timespec.
|
|
std::ostream & | operator<< (std::ostream &os, const timeval &tv) |
| Overloads the << operator for timeval.
|
|
template<typename TimeUnit = std::chrono::seconds> |
std::chrono::duration< TimeUnit > | SystemTools::Time::time_t2Duration (const time_t time) |
| Converts a time_t to a duration.
|
|
template<typename TimeUnit > |
time_t | SystemTools::Time::duration2Time_t (const std::chrono::duration< TimeUnit > &duration) |
| Converts a duration to a time_t.
|
|
template<typename TimeUnit = std::chrono::nanoseconds, typename Rep = typename TimeUnit::rep, typename Period = typename TimeUnit::period> |
std::chrono::duration< Rep, Period > | SystemTools::Time::timespec2Duration (const timespec &ts) |
| Converts a timespec to a duration.
|
|
template<typename Rep , typename Period > |
struct timespec | SystemTools::Time::duration2Timespec (const std::chrono::duration< Rep, Period > &dur) |
| Converts a duration to a timespec.
|
|
template<typename TimeUnit = std::chrono::microseconds> |
std::chrono::duration< TimeUnit > | SystemTools::Time::timeval2Duration (const timeval &tv) |
| Converts a timeval to a duration.
|
|
template<typename TimeUnit > |
struct timeval | SystemTools::Time::duration2Timeval (const std::chrono::duration< TimeUnit > &dur) |
| Converts a duration to a timeval.
|
|
template<typename Duration = std::chrono::seconds> |
std::chrono::time_point< std::chrono::system_clock, Duration > | SystemTools::Time::time_t2TimePoint (const time_t time) |
| Converts a time_t to a time_point.
|
|
template<typename Duration > |
time_t | SystemTools::Time::time_point2Time_t (const std::chrono::time_point< std::chrono::system_clock, Duration > &tp) |
| Converts a time_point to a time_t.
|
|
template<typename Duration = std::chrono::nanoseconds> |
std::chrono::time_point< std::chrono::system_clock, Duration > | SystemTools::Time::timespec2TimePoint (const timespec &ts) |
| Converts a timespec to a time_point.
|
|
template<typename Duration = std::chrono::microseconds> |
std::chrono::time_point< std::chrono::system_clock, Duration > | SystemTools::Time::timeval2TimePoint (const timeval &tv) |
| Converts a timeval to a time_point.
|
|
template<typename Duration > |
timespec | SystemTools::Time::time_point2Timespec (const std::chrono::time_point< std::chrono::system_clock, Duration > &tp) |
| Converts a time_point to a timespec.
|
|
template<typename Duration > |
timeval | SystemTools::Time::time_point2Timeval (const std::chrono::time_point< std::chrono::system_clock, Duration > &tp) |
| Converts a time_point to a timeval.
|
|
template<typename Duration > |
std::string | SystemTools::Time::time_point2String (const std::chrono::time_point< std::chrono::system_clock, Duration > &tp, const std::string &format=DATEFORMAT) |
| Converts a time_point to a string.
|
|
template<typename TimeUnit > |
std::string | SystemTools::Time::duration2String (const std::chrono::duration< TimeUnit > &duration, const std::string &format=DATEFORMAT) |
| Converts a duration to a string.
|
|
template<typename Duration = std::chrono::seconds> |
std::chrono::time_point< std::chrono::system_clock, Duration > | SystemTools::Time::string2time_point (const std::string &timeString, const std::string &timeStringFormat=DATEFORMAT) |
| Converts a string to a time_point.
|
|
int32_t | SystemTools::Time::delay_periodic (int32_t delay_us) |
| Delays execution periodically.
|
|