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 {
7public:
8 explicit Timer (float &val);
9 ~Timer ();
10
11private:
12 std::chrono::time_point<std::chrono::high_resolution_clock> m_Start;
14
15};
16
17#endif // INCLUDE_UTILS_TIMER_H_
~Timer()
Definition Timer.cpp:10
float & m_TotalTime
Definition Timer.h:13
std::chrono::time_point< std::chrono::high_resolution_clock > m_Start
Definition Timer.h:12
Timer(float &val)
Definition Timer.cpp:5