Netick.FloatStats Class Reference

Public Member Functions

CircularList< float > GetData ()
 
bool IsHealthy ()
 
 FloatStats (int windowSize=32 *4, float warningThreshold=Mathf.Infinity, bool lowIsBetter=true)
 
void Update (float value)
 
void Reset ()
 

Properties

float latest [get]
 
float max [get]
 
float min [get]
 
float average [get]
 
float stdDeviation [get]
 
float stdDeviation2 [get]
 
float warningThreshold [get]
 
CircularList< float > Data [get]
 

Constructor & Destructor Documentation

◆ FloatStats()

Netick.FloatStats.FloatStats ( int  windowSize = 32 * 4,
float  warningThreshold = Mathf.Infinity,
bool  lowIsBetter = true 
)

Member Function Documentation

◆ GetData()

CircularList< float > Netick.FloatStats.GetData ( )

◆ IsHealthy()

bool Netick.FloatStats.IsHealthy ( )

◆ Reset()

void Netick.FloatStats.Reset ( )

◆ Update()

void Netick.FloatStats.Update ( float  value)

Property Documentation

◆ average

float Netick.FloatStats.average
get

◆ Data

CircularList<float> Netick.FloatStats.Data
get

◆ latest

float Netick.FloatStats.latest
get

◆ max

float Netick.FloatStats.max
get

◆ min

float Netick.FloatStats.min
get

◆ stdDeviation

float Netick.FloatStats.stdDeviation
get

◆ stdDeviation2

float Netick.FloatStats.stdDeviation2
get

◆ warningThreshold

float Netick.FloatStats.warningThreshold
get