Searched refs:time_sec (Results 1 – 2 of 2) sorted by relevance
141 int64_t time_sec = ts.tv_sec; in waitRelative() local142 if (time_sec > INT64_MAX - reltime_sec) { in waitRelative()143 time_sec = INT64_MAX; in waitRelative()145 time_sec += reltime_sec; in waitRelative()148 ts.tv_sec = (time_sec > LONG_MAX) ? LONG_MAX : static_cast<long>(time_sec); in waitRelative()
44 const auto time_sec = system_clock::to_time_t(now); in makeTimestampedEntry() local45 tsEntry << std::put_time(std::localtime(&time_sec), "%m-%d %H:%M:%S.") << std::setw(3) in makeTimestampedEntry()47 << duration_cast<milliseconds>(now - system_clock::from_time_t(time_sec)).count() << " " in makeTimestampedEntry()