|
template<typename charT > |
std::basic_ostream< charT, std::char_traits< charT > > & | nidas::util::operator<< (std::basic_ostream< charT, std::char_traits< charT > > &os, const UTime &x) |
|
template<typename charT > |
std::basic_ostream< charT, std::char_traits< charT > > & | nidas::util::operator<< (std::basic_ostream< charT, std::char_traits< charT > > &os, const UTime_stream_manip< charT > &m) |
|
template<typename charT > |
UTime_stream_manip< charT > | nidas::util::setDefaultFormat (const std::string &val) |
| Function to set the default UTime output format on an ostream.
|
|
template<typename charT > |
UTime_stream_manip< charT > | nidas::util::setTZ (const std::string &val) |
| Function to set the UTime timezone on an ostream.
|
|
long long | nidas::util::getSystemTime () |
| Return the current unix system time, in microseconds since Jan 1, 1970, 00:00 GMT.
|
|
long long | nidas::util::timeCeiling (long long t, long long delta) |
| Return smallest time that is an integral multiple of delta, that isn't less than or equal to argument t.
|
|
long long | nidas::util::timeFloor (long long t, long long delta) |
| Return largest time that is an integral multiple of delta, that isn't greater than argument t.
|
|
bool | nidas::util::sleepUntil (unsigned int periodMsec, unsigned int offsetMsec=0) |
| Utility function, sleeps until the next even period + offset.
|
|