NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.5: NDN, CCN, CCNx, content centric networks
API Documentation
ndn::time::steady_clock Class Reference

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 >
 
using TimePoint = time_point
 
using 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 >
 

Detailed Description

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.

Definition at line 224 of file time.hpp.

Member Typedef Documentation

◆ duration

using ndn::time::steady_clock::duration = boost::chrono::steady_clock::duration

Definition at line 227 of file time.hpp.

◆ rep

using ndn::time::steady_clock::rep = duration::rep

Definition at line 228 of file time.hpp.

◆ period

using ndn::time::steady_clock::period = duration::period

Definition at line 229 of file time.hpp.

◆ time_point

using ndn::time::steady_clock::time_point = boost::chrono::time_point<steady_clock>

Definition at line 230 of file time.hpp.

◆ TimePoint

Definition at line 233 of file time.hpp.

◆ Duration

Definition at line 234 of file time.hpp.

Member Function Documentation

◆ now()

steady_clock::time_point ndn::time::steady_clock::now ( )
staticnoexcept

Definition at line 80 of file time.cpp.

Referenced by nfd::face::UnicastUdpTransport::afterChangePersistency(), nfd::face::UnicastEthernetTransport::afterChangePersistency(), nfd::fw::BestRouteStrategy::afterReceiveInterest(), nfd::fw::SelfLearningStrategy::afterReceiveNack(), nfd::fw::asf::AsfStrategy::beforeSatisfyInterest(), nfd::fw::AccessStrategy::beforeSatisfyInterest(), ndn::scheduler::Scheduler::cancelAllEvents(), ndn::security::v2::ValidationPolicyCommandInterest::checkPolicy(), ndn::security::v2::ValidationPolicySignedInterest::checkPolicy(), nfd::rib::computeExpiration(), nfd::fw::RetxSuppressionFixed::decidePerPitEntry(), nfd::fw::RetxSuppressionExponential::decidePerPitEntry(), nfd::fw::RetxSuppressionExponential::decidePerUpstream(), nfd::face::LpReliability::deleteUnackedFrag(), nfd::RibManager::enableLocalFields(), ndn::scheduler::EventInfo::expiresFromNow(), nfd::measurements::Measurements::extendLifetime(), nfd::rib::RibEntry::getPrefixAnnouncement(), nfd::face::LpReliability::handleOutgoing(), nfd::fw::hasPendingOutRecords(), nfd::cs::Entry::isFresh(), nfd::makeFaceStatus(), nfd::matchFilter(), nfd::measurements::Measurements::Measurements(), nfd::Forwarder::onContentStoreMiss(), ns3::ndn::ConsumerPcon::OnTimeout(), nfd::fw::asf::FaceStatsCompare::operator()(), nfd::rib::operator<<(), nfd::face::LpReliability::processIncomingPacket(), ndn::security::v2::DynamicTrustAnchorGroup::refresh(), nfd::fw::Strategy::satisfyInterest(), nfd::fw::Strategy::sendDataToAll(), nfd::RibManager::slAnnounce(), nfd::RibManager::slRenew(), ndn::util::SegmentFetcher::stop(), nfd::pit::FaceRecord::update(), nfd::cs::Entry::updateFreshUntil(), and ndn::util::SegmentFetcher::Options::validate().

Friends And Related Function Documentation

◆ boost::asio::wait_traits< steady_clock >

friend struct boost::asio::wait_traits< steady_clock >
friend

Definition at line 251 of file time.hpp.

Member Data Documentation

◆ is_steady

constexpr bool ndn::time::steady_clock::is_steady = true
static

Definition at line 231 of file time.hpp.


The documentation for this class was generated from the following files: