Helios Engine 0.1.0
A modular ECS based data-oriented C++23 game engine
 
Loading...
Searching...
No Matches
timer.hpp File Reference
#include <chrono>
#include <concepts>
#include <cstdint>
#include <ratio>
#include <type_traits>
#include <helios/core/utils/common_traits.hpp>
#include <helios/core_pch.hpp>

Go to the source code of this file.

Classes

class  helios::Timer< Clock >
 High–resolution timer with configurable clock and rich elapsed API. More...
 

Namespaces

namespace  helios
 
namespace  helios::details
 

Concepts

concept  helios::details::ClockTrait
 Concept for clock types compatible with std::chrono clocks.
 
concept  helios::details::DurationTrait
 Concept for duration types based on std::chrono::duration.
 

Typedefs

template<typename Rep , typename Period >
using helios::details::NormalizedDuration = std::chrono::duration< Rep, Period >
 Helper alias to normalize a duration to its canonical std::chrono::duration form.
 
template<typename Clock , typename Rep , typename Period >
using helios::details::NormalizedClockDuration = std::chrono::duration< Rep, Period >
 Helper alias to normalize a clock's duration to a specific rep/period.