Minetest 5.9.0-dev
 
Loading...
Searching...
No Matches
Profiler::DataPair Struct Reference

Public Member Functions

void reset ()
 
float getValue () const
 

Public Attributes

float value = 0
 
int avgcount = 0
 

Member Function Documentation

◆ getValue()

float Profiler::DataPair::getValue ( ) const
inline

References avgcount, and value.

◆ reset()

void Profiler::DataPair::reset ( )
inline

References avgcount, and value.

Member Data Documentation

◆ avgcount

int Profiler::DataPair::avgcount = 0

Referenced by getValue(), and reset().

◆ value

float Profiler::DataPair::value = 0

Referenced by getValue(), and reset().


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