FastMM documentation
FastMM C++ API 0.6.0
Public headers, tier 1 and tier 2
Loading...
Searching...
No Matches
fastmm::ClockLike Concept Reference

#include <fastmm/core/time.hpp>

Concept definition

template<class C>
concept fastmm::ClockLike = requires(const C& c, Cycles cy, std::uint64_t dc) {
{ c.now() } noexcept -> std::same_as<Timestamp>;
{ c.cycles() } noexcept -> std::same_as<Cycles>;
{ c.to_timestamp(cy) } noexcept -> std::same_as<Timestamp>;
{ c.cycles_to_ns(dc) } noexcept -> std::same_as<std::int64_t>;
}
Definition time.hpp:365