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

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_clocktime_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 >
 

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 99 of file time.hpp.

Member Typedef Documentation

typedef nanoseconds ndn::time::steady_clock::duration

Definition at line 102 of file time.hpp.

typedef duration::rep ndn::time::steady_clock::rep

Definition at line 103 of file time.hpp.

typedef duration::period ndn::time::steady_clock::period

Definition at line 104 of file time.hpp.

typedef boost::chrono::time_point<steady_clock> ndn::time::steady_clock::time_point

Definition at line 105 of file time.hpp.

Definition at line 108 of file time.hpp.

Definition at line 109 of file time.hpp.

Member Function Documentation

Friends And Related Function Documentation

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

Definition at line 126 of file time.hpp.

Member Data Documentation

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

Definition at line 106 of file time.hpp.


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