hub::tools::Timer class

Contents

High precision timer for benchmark.

Public functions

void start()
auto get_time() -> double
void pause()
void reset()

Function documentation

void hub::tools::Timer::start()

Start the timer.

double hub::tools::Timer::get_time()

Returns Time duration from start().

Get the time in milli-second.

void hub::tools::Timer::pause()

Pause the timer.

void hub::tools::Timer::reset()

Reset the timer.