|
spla
|
Simple timer to measure intervals of time on CPU-side. More...
#include <timer.hpp>
Public Member Functions | |
| Timer () | |
| ~Timer () | |
| void | start () |
| void | stop () |
| void | lap_begin () |
| void | lap_end () |
| void | print (std::ostream &out=std::cout) const |
| double | get_elapsed_ms () const |
| double | get_elapsed_sec () const |
| const std::vector< double > & | get_laps_ms () const |
Simple timer to measure intervals of time on CPU-side.
|
default |
|
default |
|
nodiscard |
|
nodiscard |
|
nodiscard |
| void spla::Timer::lap_begin | ( | ) |
| void spla::Timer::lap_end | ( | ) |
| void spla::Timer::print | ( | std::ostream & | out = std::cout | ) | const |
| void spla::Timer::start | ( | ) |
| void spla::Timer::stop | ( | ) |