Ankush's Garage
A collection of stuff made by Ankush Roy
Loading...
Searching...
No Matches
Timer.h
Go to the documentation of this file.
1#ifndef INCLUDE_UTILS_TIMER_H_
2#define INCLUDE_UTILS_TIMER_H_
3
4#include <chrono>
5
6class Timer
7{
8 public:
9 explicit Timer(float &val);
10 ~Timer();
11
12 private:
13 std::chrono::time_point<std::chrono::high_resolution_clock> m_Start;
15};
16
17#endif // INCLUDE_UTILS_TIMER_H_
~Timer()
Definition Timer.cpp:10
float & m_TotalTime
Definition Timer.h:14
std::chrono::time_point< std::chrono::high_resolution_clock > m_Start
Definition Timer.h:13
Timer(float &val)
Definition Timer.cpp:5