SUNENGINE 0.0.2
A simple and bright C++ game engine.
 
Loading...
Searching...
No Matches
PerformanceTimer Class Reference

Public Member Functions

 PerformanceTimer (const PerformanceTimer &)=delete
 
 PerformanceTimer (PerformanceTimer &&)=delete
 
PerformanceTimeroperator= (const PerformanceTimer &)=delete
 
PerformanceTimeroperator= (PerformanceTimer &&)=delete
 
void Tic () noexcept
 
void Toc () noexcept
 
void Reset () noexcept
 
float TimeInSeconds () noexcept
 

Private Member Functions

void privInitTimer () noexcept
 
LARGE_INTEGER privGetTimer () noexcept
 

Private Attributes

LARGE_INTEGER ticTime
 
LARGE_INTEGER tocTime
 
LARGE_INTEGER deltaTime
 
float SecondsPerCycle
 
float timeSeconds
 

The documentation for this class was generated from the following file: