#include <stop_watch.hpp>
|
| static std::chrono::milliseconds | now () |
| |
◆ StopWatch()
| IOTA::Utils::StopWatch::StopWatch |
( |
| ) |
|
StopWatch constructor: automatically starts the timer.
◆ getElapsedTime()
| std::chrono::milliseconds IOTA::Utils::StopWatch::getElapsedTime |
( |
| ) |
const |
- Returns
- Elapsed time in milliseconds.
◆ now()
| static std::chrono::milliseconds IOTA::Utils::StopWatch::now |
( |
| ) |
|
|
static |
◆ pause()
| void IOTA::Utils::StopWatch::pause |
( |
| ) |
|
◆ restart()
| void IOTA::Utils::StopWatch::restart |
( |
| ) |
|
◆ resume()
| void IOTA::Utils::StopWatch::resume |
( |
| ) |
|
Resume the timer after pausing it.
The documentation for this class was generated from the following file: