LydiaSyft
|
Stopwatch for timing executions. More...
#include <Stopwatch.h>
Public Member Functions | |
Stopwatch () | |
Create a stopwatch without starting it. | |
void | start () |
Start the stopwatch. | |
std::chrono::milliseconds | stop () |
Stop the stopwatch. More... | |
Stopwatch for timing executions.
std::chrono::milliseconds Syft::Stopwatch::stop | ( | ) |
Stop the stopwatch.
Throws an exception if stopwatch hasn't been started since the last time it was stopped.