Sequoia
Loading...
Searching...
No Matches
Source
sequoia
PlatformSpecific
Helpers.hpp
Go to the documentation of this file.
1
2
// Copyright Oliver J. Rosten 2021. //
3
// Distributed under the GNU GENERAL PUBLIC LICENSE, Version 3.0. //
4
// (See accompanying file LICENSE.md or copy at //
5
// https://www.gnu.org/licenses/gpl-3.0.en.html) //
7
8
#pragma once
9
14
#include <chrono>
15
16
namespace
sequoia
17
{
18
class
[[nodiscard]]
timer_resolution
19
{
20
unsigned
int
m_Resolution{};
21
22
[[nodiscard]]
23
static
unsigned
int
resolution(std::chrono::milliseconds t)
noexcept
;
24
public
:
25
timer_resolution
() =
default
;
26
27
explicit
timer_resolution
(std::chrono::milliseconds t);
28
29
~timer_resolution
();
30
};
31
}
sequoia::timer_resolution
Definition:
Helpers.hpp:19
Generated by
1.9.6