Ankush's Garage
A collection of stuff made by Ankush Roy
Loading...
Searching...
No Matches
CapFPS.h
Go to the documentation of this file.
1
#ifndef INCLUDE_UTILS_CAPFPS_H_
2
#define INCLUDE_UTILS_CAPFPS_H_
3
4
#include <chrono>
5
namespace
Utils
6
{
8
class
CapZone
9
{
10
public
:
11
explicit
CapZone
(
unsigned
int
fps);
12
13
~CapZone
();
14
15
private
:
16
std::chrono::time_point<std::chrono::high_resolution_clock>
m_Start
;
17
unsigned
int
m_FPS
;
18
};
19
20
}
// namespace Utils
21
22
#endif
// INCLUDE_UTILS_CAPFPS_H_
Utils::CapZone::m_FPS
unsigned int m_FPS
Definition
CapFPS.h:17
Utils::CapZone::m_Start
std::chrono::time_point< std::chrono::high_resolution_clock > m_Start
Definition
CapFPS.h:16
Utils::CapZone::~CapZone
~CapZone()
Definition
CapFPS.cpp:12
Utils::CapZone::CapZone
CapZone(unsigned int fps)
Definition
CapFPS.cpp:7
Utils
Definition
CapFPS.cpp:5
src
Utils
CapFPS.h
Generated by
1.13.2