SyB3R - Synthetic Benchmark for 3D Reconstruction
Main Page
Related Pages
Modules
Classes
Files
File List
libs
Common
source
syb3r
tools
CPUStopWatch.h
1
#ifndef CPUSTOPWATCH_H
2
#define CPUSTOPWATCH_H
3
4
#include <chrono>
5
6
namespace
syb3r
{
7
namespace
tools {
8
12
class
CPUStopWatch
13
{
14
public
:
15
CPUStopWatch
();
16
18
void
start
();
21
uint64_t
getNanoseconds
();
22
protected
:
23
std::chrono::time_point<std::chrono::steady_clock> m_start;
24
};
25
26
}
27
}
28
29
#endif // CPUSTOPWATCH_H
syb3r
Definition:
CameraPathEvaluation.cpp:10
syb3r::tools::CPUStopWatch::start
void start()
Resets the clock.
Definition:
CPUStopWatch.cpp:12
syb3r::tools::CPUStopWatch::getNanoseconds
uint64_t getNanoseconds()
Definition:
CPUStopWatch.cpp:17
syb3r::tools::CPUStopWatch
Measures elapsed time.
Definition:
CPUStopWatch.h:12
Generated by
1.8.11