Searched refs:kNsToSeconds (Results 1 – 1 of 1) sorted by relevance
27 constexpr int64_t kNsToSeconds = std::chrono::duration_cast<std::chrono::nanoseconds>(1s).count(); variable34 spec->tv_sec = static_cast<__kernel_time_t>(timeout / kNsToSeconds); in calculateTimeoutTime()35 spec->tv_nsec = timeout % kNsToSeconds; in calculateTimeoutTime()