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