You.i Engine
CYIProfileData::Average Class Reference

#include <utility/YiProfileData.h>

Public Member Functions

 Average ()
 
 Average (uint32_t window)
 
void Init (uint32_t window)
 
void Add (uint64_t data)
 
float Avg () const
 
uint64_t GetLast () const
 

Constructor & Destructor Documentation

◆ Average() [1/2]

CYIProfileData::Average::Average ( )

◆ Average() [2/2]

CYIProfileData::Average::Average ( uint32_t  window)

Member Function Documentation

◆ Add()

void CYIProfileData::Average::Add ( uint64_t  data)

◆ Avg()

float CYIProfileData::Average::Avg ( ) const

◆ GetLast()

uint64_t CYIProfileData::Average::GetLast ( ) const

◆ Init()

void CYIProfileData::Average::Init ( uint32_t  window)

Each time window changes, data is reset


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