SYNOPSIS
The stopwatch class is a simple timer class that will keep track of monotonic time.
top
The stopwatch class is a simple timer class that will keep track of monotonic time.
#include <omni/chrono/stopwatch.hpp>
omni::stopwatch::stopwatch()
omni::stopwatch::~stopwatch()
std::size_t omni::stopwatch::elapsed_ms()
std::size_t omni::stopwatch::elapsed_s()
std::size_t omni::stopwatch::elapsed_us()
bool omni::stopwatch::is_running()
omni::stopwatch& omni::stopwatch::reset()
omni::stopwatch& omni::stopwatch::restart()
omni::stopwatch& omni::stopwatch::start()
omni::stopwatch& omni::stopwatch::stop()
bool omni::stopwatch::operator!=(const omni::stopwatch& o)
friend std::ostream& omni::stopwatch::operator<<(std::ostream& os, const omni::stopwatch& sw)
omni::stopwatch& omni::stopwatch::operator=(const omni::stopwatch& other)
bool omni::stopwatch::operator==(const omni::stopwatch& o)
top