Zth (libzth)
Loading...
Searching...
No Matches
zth::monotonic_clock Struct Reference

#include <time.h>

Public Types

using duration = std::chrono::nanoseconds
 
using rep = duration::rep
 
using period = duration::period
 
using time_point = std::chrono::time_point< monotonic_clock >
 

Static Public Member Functions

static time_point now () noexcept
 

Static Public Attributes

static constexpr bool is_steady = true
 

Detailed Description

Definition at line 546 of file time.h.

Member Typedef Documentation

◆ duration

using zth::monotonic_clock::duration = std::chrono::nanoseconds

Definition at line 547 of file time.h.

◆ period

using zth::monotonic_clock::period = duration::period

Definition at line 549 of file time.h.

◆ rep

using zth::monotonic_clock::rep = duration::rep

Definition at line 548 of file time.h.

◆ time_point

using zth::monotonic_clock::time_point = std::chrono::time_point<monotonic_clock>

Definition at line 550 of file time.h.

Member Function Documentation

◆ now()

static time_point zth::monotonic_clock::now ( )
inlinestaticnoexcept

Definition at line 553 of file time.h.

Member Data Documentation

◆ is_steady

constexpr bool zth::monotonic_clock::is_steady = true
staticconstexpr

Definition at line 551 of file time.h.


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