MAGE  v0.171.0
Matthias Advanced Game Engine
mage::CoreClockPerCore Struct Reference

#include <system_time.hpp>

Public Types

using rep = U64
 
using period = std::ratio< 1, 10 '000 '000 >
 
using duration = std::chrono::duration< rep, period >
 
using time_point = std::chrono::time_point< CoreClockPerCore >
 

Static Public Member Functions

static const time_point now () noexcept
 

Static Public Attributes

static constexpr bool is_steady = true
 

Member Typedef Documentation

◆ duration

using mage::CoreClockPerCore::duration = std::chrono::duration< rep, period >

◆ period

using mage::CoreClockPerCore::period = std::ratio< 1, 10'000'000 >

◆ rep

◆ time_point

using mage::CoreClockPerCore::time_point = std::chrono::time_point< CoreClockPerCore >

Member Function Documentation

◆ now()

const CoreClockPerCore::time_point mage::CoreClockPerCore::now ( )
staticnoexcept

Member Data Documentation

◆ is_steady

constexpr bool mage::CoreClockPerCore::is_steady = true
static