Open 3D Engine AzCore API Reference 23.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
AZ::Statistics::StatisticalProfiler< StatIdType, MutexType >::StatisticalAggregate Struct Reference

Public Attributes

AZ::Statistics::NamedRunningStatisticm_statPerFrame
 
AZStd::vector< AZ::Statistics::NamedRunningStatistic * > m_statsForPerFrameCalculation
 
double m_prevAccumulatedSums
 

Member Data Documentation

◆ m_prevAccumulatedSums

template<class StatIdType = AZStd::string, class MutexType = AZ::NullMutex>
double AZ::Statistics::StatisticalProfiler< StatIdType, MutexType >::StatisticalAggregate::m_prevAccumulatedSums

This one is needed because running statistics are collected many times across several frames. This value is used to calculate a per frame sample for @m_totalTimePerFrameStat, by subtracting @m_prevAccumulatedSums from the accumulated sum in @m_statisticsManager.


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