SyB3R - Synthetic Benchmark for 3D Reconstruction
|
Measures elapsed time. More...
#include <libs/Common/source/syb3r/tools/CPUStopWatch.h>
Public Member Functions | |
void | start () |
Resets the clock. | |
uint64_t | getNanoseconds () |
Protected Attributes | |
std::chrono::time_point< std::chrono::steady_clock > | m_start |
Measures elapsed time.
uint64_t syb3r::tools::CPUStopWatch::getNanoseconds | ( | ) |
Returns the number of nano seconds that have passed since either object creation or the last call to start()
The actual precision might my significantly less then nano seconds!