Steady clock. More...
#include <time.hpp>
Public Types | |
using | duration = boost::chrono::steady_clock::duration |
using | rep = duration::rep |
using | period = duration::period |
using | time_point = boost::chrono::time_point< steady_clock > |
typedef time_point | TimePoint |
typedef duration | Duration |
Static Public Member Functions | |
static time_point | now () noexcept |
Static Public Attributes | |
static constexpr bool | is_steady = true |
Friends | |
struct | boost::asio::wait_traits< steady_clock > |
Steady clock.
Steady clock represents a monotonic clock. The time points of this clock cannot decrease as physical time moves forward. This clock is not related to wall clock time, and is best suitable for measuring intervals.
using ndn::time::steady_clock::duration = boost::chrono::steady_clock::duration |
using ndn::time::steady_clock::rep = duration::rep |
using ndn::time::steady_clock::period = duration::period |
using ndn::time::steady_clock::time_point = boost::chrono::time_point<steady_clock> |
|
staticnoexcept |
Definition at line 80 of file time.cpp.
References ndn::time::g_steadyClock.
Referenced by nfd::fw::asf::AsfStrategy::beforeSatisfyInterest(), nfd::fw::AccessStrategy::beforeSatisfyInterest(), nfd::fw::canForwardToLegacy(), nfd::rib::computeExpiration(), nfd::fw::RetxSuppressionFixed::decidePerPitEntry(), nfd::fw::RetxSuppressionExponential::decidePerPitEntry(), nfd::fw::RetxSuppressionExponential::decidePerUpstream(), ndn::scheduler::EventInfo::expiresFromNow(), nfd::measurements::Measurements::extendLifetime(), nfd::rib::RibEntry::getPrefixAnnouncement(), nfd::face::LpReliability::handleOutgoing(), nfd::fw::hasPendingOutRecords(), nfd::cs::Entry::isFresh(), nfd::rib::operator<<(), nfd::face::LpReliability::processIncomingPacket(), ndn::security::v2::DynamicTrustAnchorGroup::refresh(), nfd::fw::Strategy::sendDataToAll(), nfd::RibManager::slRenew(), nfd::pit::FaceRecord::update(), and nfd::cs::Entry::updateFreshUntil().
|
friend |
|
staticconstexpr |