SyB3R - Synthetic Benchmark for 3D Reconstruction
Public Member Functions | Protected Attributes | List of all members
syb3r::tools::CPUStopWatch Class Reference

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
 

Detailed Description

Measures elapsed time.

Member Function Documentation

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!


The documentation for this class was generated from the following files: