DUDS
Distributed Update of Data from Something
duds::time::interstellar::NanoClock Struct Reference

Provides Interstellar Time in Nanoseconds. More...

#include <Interstellar.hpp>

Public Types

typedef Nanoseconds duration
 
typedef duration::period period
 
typedef duration::rep rep
 
typedef TimePoint< NanoClock, durationtime_point
 

Static Public Member Functions

static time_point now () noexcept
 

Static Public Attributes

static constexpr bool is_steady = false
 

Detailed Description

Provides Interstellar Time in Nanoseconds.

The range of the 64-bit number is about 1.844e10 seconds, or about 584.5 Earth years, after time zero. This should be useful for applications needing better than millisecond resolution where a 128-bit integer is considered burdensome.

Author
Jeff Jackowski

Definition at line 216 of file Interstellar.hpp.

Member Typedef Documentation

◆ duration

◆ period

Definition at line 219 of file Interstellar.hpp.

◆ rep

Definition at line 218 of file Interstellar.hpp.

◆ time_point

Member Function Documentation

◆ now()

static time_point duds::time::interstellar::NanoClock::now ( )
inlinestaticnoexcept

Definition at line 222 of file Interstellar.hpp.

Member Data Documentation

◆ is_steady

constexpr bool duds::time::interstellar::NanoClock::is_steady = false
static

Definition at line 221 of file Interstellar.hpp.


The documentation for this struct was generated from the following file: