userver: utils::datetime::WallCoarseClock Struct Reference
Loading...
Searching...
No Matches
utils::datetime::WallCoarseClock Struct Referencefinal

#include <userver/utils/datetime/wall_coarse_clock.hpp>

Detailed Description

System clock with up to a few millisecond resolution that is slightly faster than the std::chrono::system_clock.

Definition at line 16 of file wall_coarse_clock.hpp.

Public Types

using duration = std::chrono::system_clock::duration
 
using rep = duration::rep
 
using period = duration::period
 
using time_point = std::chrono::system_clock::time_point
 

Static Public Member Functions

static time_point now () noexcept
 
static duration resolution () noexcept
 

Static Public Attributes

static constexpr bool is_steady = false
 

Member Typedef Documentation

◆ duration

using utils::datetime::WallCoarseClock::duration = std::chrono::system_clock::duration

Definition at line 18 of file wall_coarse_clock.hpp.

◆ period

using utils::datetime::WallCoarseClock::period = duration::period

Definition at line 20 of file wall_coarse_clock.hpp.

◆ rep

using utils::datetime::WallCoarseClock::rep = duration::rep

Definition at line 19 of file wall_coarse_clock.hpp.

◆ time_point

using utils::datetime::WallCoarseClock::time_point = std::chrono::system_clock::time_point

Definition at line 21 of file wall_coarse_clock.hpp.

Member Data Documentation

◆ is_steady

constexpr bool utils::datetime::WallCoarseClock::is_steady = false
staticconstexpr

Definition at line 23 of file wall_coarse_clock.hpp.


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