IceShard 1
A personal game engine project, with development focused on 2D/2.5D games.
Loading...
Searching...
No Matches
ice::stopwatch Namespace Reference

Functions

auto create_stopwatch () noexcept -> ice::Stopwatch
auto create_stopwatch (ice::Clock const &clock) noexcept -> ice::Stopwatch
auto elapsed (ice::Stopwatch const &stopwatch) noexcept -> ice::Tns
auto elapsed_us (ice::Stopwatch const &stopwatch) noexcept -> ice::Tus
void start (ice::Stopwatch &stopwatch) noexcept
void stop (ice::Stopwatch &stopwatch) noexcept

Function Documentation

◆ create_stopwatch() [1/2]

auto ice::stopwatch::create_stopwatch ( ) -> ice::Stopwatch
noexcept

◆ create_stopwatch() [2/2]

auto ice::stopwatch::create_stopwatch ( ice::Clock const & clock) -> ice::Stopwatch
noexcept

◆ elapsed()

auto ice::stopwatch::elapsed ( ice::Stopwatch const & stopwatch) -> ice::Tns
noexcept

◆ elapsed_us()

auto ice::stopwatch::elapsed_us ( ice::Stopwatch const & stopwatch) -> ice::Tus
noexcept

◆ start()

void ice::stopwatch::start ( ice::Stopwatch & stopwatch)
noexcept

◆ stop()

void ice::stopwatch::stop ( ice::Stopwatch & stopwatch)
noexcept