Navigation
API > API/Runtime > API/Runtime/NetCore
Version of TBinnedMovingValue which takes permanently incrementing values (e.g. frame count), and uses the delta since the previous value as the measurement (this means the very first value is not measured).
Use TDeltaBinnedMovingAvg/TDeltaBinnedMovingSum aliases, instead of using this directly.
| Name | TBinnedDeltaMovingValue |
| Type | class |
| Header File | /Engine/Source/Runtime/Net/Core/Public/Net/Core/Analytics/NetStatsUtils.h |
| Include Path | #include "Net/Core/Analytics/NetStatsUtils.h" |
Syntax
template<typename ConsumerType, int32 NumBins, EBinnedValueMode InMode>
class TBinnedDeltaMovingValue : private UE::Net::TBinnedMovingValue< ConsumerType, NumBins, InMode >
Inheritance Hierarchy
- FBinnedMovingValueBase → TBinnedMovingValue → TBinnedDeltaMovingValue
- TSampleProducer → TBinnedMovingValue → TBinnedDeltaMovingValue
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| Super | TBinnedMovingValue< ConsumerType, NumBins, InMode > | Net/Core/Analytics/NetStatsUtils.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| LastValue | double | The last input value, for tracking deltas | Net/Core/Analytics/NetStatsUtils.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddMeasurement
(
double TimeVal, |
Inputs a value whose delta is calculated for measurement, and the approximate time it was measured. | Net/Core/Analytics/NetStatsUtils.h | |
void Flush () |
Flushes a sample from the current bin values to the consumer. | Net/Core/Analytics/NetStatsUtils.h | |
void Reset() |
Resets the accumulated bin/sample data (the very first value after this is not measured). | Net/Core/Analytics/NetStatsUtils.h |