Steady clock. More...
#include <time.hpp>
Public Types | |
typedef nanoseconds | duration |
typedef duration::rep | rep |
typedef duration::period | period |
typedef boost::chrono::time_point< steady_clock > | time_point |
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::time_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.
typedef nanoseconds ndn::time::steady_clock::duration |
typedef duration::rep ndn::time::steady_clock::rep |
typedef duration::period ndn::time::steady_clock::period |
typedef boost::chrono::time_point<steady_clock> ndn::time::steady_clock::time_point |
|
staticnoexcept |
Definition at line 80 of file time.cpp.
Referenced by nfd::face::UnicastUdpTransport::afterChangePersistency(), nfd::face::UnicastEthernetTransport::afterChangePersistency(), nfd::fw::BestRouteStrategy2::afterReceiveInterest(), nfd::fw::AccessStrategy::beforeSatisfyInterest(), nfd::fw::canForwardToLegacy(), ndn::security::v2::ValidationPolicyCommandInterest::checkPolicy(), nfd::compare_InRecord_expiry(), nfd::fw::RetxSuppressionFixed::decidePerPitEntry(), nfd::fw::RetxSuppressionExponential::decidePerPitEntry(), nfd::fw::RetxSuppressionExponential::decidePerUpstream(), nfd::measurements::Measurements::extendLifetime(), nfd::Forwarder::Forwarder(), nfd::face::LpReliability::handleOutgoing(), nfd::fw::hasPendingOutRecords(), nfd::cs::Entry::isStale(), nfd::measurements::Measurements::Measurements(), boost::asio::time_traits< ndn::time::steady_clock >::now(), nfd::rib::RibManager::onRibUpdateFailure(), nfd::rib::operator<<(), nfd::face::LpReliability::piggyback(), nfd::face::LpReliability::processIncomingPacket(), nfd::fw::asf::FaceInfo::recordRtt(), ndn::security::v2::DynamicTrustAnchorGroup::refresh(), nfd::FaceManager::setConfigFile(), nfd::pit::FaceRecord::update(), and nfd::cs::Entry::updateStaleTime().
|
friend |
|
static |