Navigation
API > API/Runtime > API/Runtime/NetCore
| Name | TSampleMinMaxAvg< EMinMaxValueMode::PerTimeSeconds, MinMaxTimeSeconds > |
| Type | class |
| Header File | /Engine/Source/Runtime/Net/Core/Public/Net/Core/Analytics/NetStatsUtils.h |
| Include Path | #include "Net/Core/Analytics/NetStatsUtils.h" |
Syntax
namespace TSampleMinMaxAvg< EMinMaxValueMode
{
template<int32 MinMaxTimeSeconds>
class TSampleMinMaxAvg< EMinMaxValueMode::PerTimeSeconds, MinMaxTimeSeconds > : public UE::Net::FSampleMinMaxAvg
}
Inheritance Hierarchy
- FSampleMinMaxAvg → TSampleMinMaxAvg< EMinMaxValueMode::PerTimeSeconds, MinMaxTimeSeconds >
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| MinMaxPeriodCount | int32 | The number of measurements during the current Min/Max averaging period | Net/Core/Analytics/NetStatsUtils.h | |
| MinMaxPeriodStart | double | The time at which the last Min/Max averaging period started | Net/Core/Analytics/NetStatsUtils.h | |
| MinMaxPeriodSum | double | The sum of measurements during the current Min/Max averaging period | Net/Core/Analytics/NetStatsUtils.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddSample
(
double Value |
Inputs a sample (usually from a TSampleProducer) | Net/Core/Analytics/NetStatsUtils.h | |
void PeekMeasurement
(
double TimeVal, |
Net/Core/Analytics/NetStatsUtils.h |