join 1.0
lightweight network framework library
Loading...
Searching...
No Matches
join::NanoClock Struct Reference

minimal clock type used as a type tag for time_point parameterization. More...

#include <clock.hpp>

Public Types

using rep = int64_t
 
using period = std::nano
 
using duration = std::chrono::nanoseconds
 
using time_point = std::chrono::time_point<NanoClock>
 

Static Public Member Functions

static time_point now () noexcept=delete
 

Static Public Attributes

static constexpr bool is_steady = true
 

Detailed Description

minimal clock type used as a type tag for time_point parameterization.

Member Typedef Documentation

◆ duration

using join::NanoClock::duration = std::chrono::nanoseconds

◆ period

using join::NanoClock::period = std::nano

◆ rep

using join::NanoClock::rep = int64_t

◆ time_point

using join::NanoClock::time_point = std::chrono::time_point<NanoClock>

Member Function Documentation

◆ now()

static time_point join::NanoClock::now ( )
staticdeletenoexcept

Member Data Documentation

◆ is_steady

bool join::NanoClock::is_steady = true
staticconstexpr

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