Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
AverageTracker Struct Reference

Public Member Functions

MCAPI void addSample (::std::chrono::nanoseconds dt)
MCAPI ~AverageTracker ()
MCAPI void $dtor ()

Public Attributes

::ll::TypedStorage< 4, 4, float > mTotalOverLastSecond
::ll::TypedStorage< 4, 4, float > mAverageOverLastSecond
::ll::TypedStorage< 4, 4, float > mMaximumOverLastSecond
::ll::TypedStorage< 4, 4, uint > mNumberOfSamplesInLastSecond
::ll::TypedStorage< 8, 24, ::std::vector<::std::chrono::nanoseconds > > mSamples
::ll::TypedStorage< 8, 8, ::std::chrono::steady_clock::time_point > mLastResetTime

Constructor & Destructor Documentation

◆ ~AverageTracker()

MCAPI AverageTracker::~AverageTracker ( )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

Member Function Documentation

◆ addSample()

MCAPI void AverageTracker::addSample ( ::std::chrono::nanoseconds dt)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $dtor()

MCAPI void AverageTracker::$dtor ( )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

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