12#if !defined(__ROVECOMM_LIBRARY_MODE__) || (__ROVECOMM_LIBRARY_MODE__ == 0)
144 auto tCurrentTime = std::chrono::high_resolution_clock::now();
145 auto tElapsedTimeSinceLastTick = std::chrono::duration_cast<std::chrono::microseconds>(tCurrentTime -
m_tLastUpdateTime).count();
154 m_tLastUpdateTime = tCurrentTime;
IPS & operator=(const IPS &OtherIPS)
Operator equals for IPS class.
Definition IPS.hpp:120
double m_d1PercentLow
Definition IPS.hpp:39
double GetExactIPS() const
Accessor for the Current I P S private member. This method will return the immediate IPS since the la...
Definition IPS.hpp:168
~IPS()
Construct a new IPS object.
Definition IPS.hpp:106
void Reset()
Resets all metrics and frame time history.
Definition IPS.hpp:253
std::deque< double > m_dqIPSHistory
Definition IPS.hpp:40
std::chrono::high_resolution_clock::time_point m_tLastUpdateTime
Definition IPS.hpp:41
IPS()
Construct a new IPS object.
Definition IPS.hpp:90
double m_dLowestIPS
Definition IPS.hpp:38
const long unsigned int m_nMaxMetricsHistorySize
Definition IPS.hpp:44
double m_dCurrentIPS
Definition IPS.hpp:36
double m_dHighestIPS
Definition IPS.hpp:37
double GetHighestIPS() const
Accessor for the Highest I P S private member.
Definition IPS.hpp:212
double Get1PercentLow() const
Accessor for the 1PercentLow I P S private member.
Definition IPS.hpp:240
void UpdateMetrics()
This method is used to calculate the IPS stats. Highest, lowest, and 1 percent low IPS.
Definition IPS.hpp:54
double GetAverageIPS() const
Calculates the average iterations per second.
Definition IPS.hpp:183
double GetLowestIPS() const
Accessor for the Lowest I P S private member.
Definition IPS.hpp:226
void Tick()
This method is used to update the iterations per second counter and recalculate all of the IPS metric...
Definition IPS.hpp:141