#include <stopwatch.hpp>
|
| using | chrono_t = std::chrono::high_resolution_clock::time_point |
| using | sw_unit = std::chrono::nanoseconds |
◆ chrono_t
◆ sw_unit
◆ Stopwatch()
| Stopwatch::Stopwatch |
( |
bool | startNow = false | ) |
|
|
inline |
◆ getElapsed()
| double Stopwatch::getElapsed |
( |
| ) |
const |
|
inline |
◆ getElapsedNanosec()
| uint64_t Stopwatch::getElapsedNanosec |
( |
| ) |
const |
|
inlineprivate |
◆ reset()
| void Stopwatch::reset |
( |
| ) |
|
|
inline |
◆ restart()
| void Stopwatch::restart |
( |
| ) |
|
|
inline |
◆ start()
| void Stopwatch::start |
( |
| ) |
|
|
inline |
◆ stop()
◆ elapsed
◆ isRunning
| bool Stopwatch::isRunning |
|
private |
◆ startMark
The documentation for this class was generated from the following file: