![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <NetAnalyticsTypes.h>
Public Member Functions | |
| ENGINE_API | FDelinquencyAnalytics (const uint32 InNumberOfTopOffendersToTrack) |
| ENGINE_API | FDelinquencyAnalytics (FDelinquencyAnalytics &&Other) |
| FDelinquencyAnalytics (const FDelinquencyAnalytics &)=delete | |
| const FDelinquencyAnalytics & | operator= (const FDelinquencyAnalytics &)=delete |
| FDelinquencyAnalytics & | operator= (FDelinquencyAnalytics &&)=default |
| void | Emplace (FName Name, float TimeSeconds) |
| ENGINE_API void | Add (FDelinquencyNameTimePair &&ToTrack) |
| const TArray< FDelinquencyNameTimePair > & | GetTopOffenders () const |
| const TSet< FDelinquencyNameTimePair, FDelinquencyKeyFuncs > & | GetAllDelinquents () const |
| const float | GetTotalTime () const |
| const uint32 | GetNumberOfTopOffendersToTrack () const |
| ENGINE_API void | Reset () |
| ENGINE_API void | CountBytes (class FArchive &Ar) const |
Convenience type that can be used to tracks information about things that can result in prolonged periods of apparent network inactivity, despite actually receiving traffic.
The overall number of entries is expected to be small, but ultimately is left up to callers.
|
explicit |
| FDelinquencyAnalytics::FDelinquencyAnalytics | ( | FDelinquencyAnalytics && | Other | ) |
|
delete |
| void FDelinquencyAnalytics::Add | ( | FDelinquencyNameTimePair && | ToTrack | ) |
Adds the event to the delinquency tracking, by accumulating its time into total time, and updating any existing events to choose the one with the highest time.
When NumberOfTopOffendersToTrack == 0, we will just track the set of all events as well as the total time.
When NumberOfTopOffendersToTrack > 0, we will track the set, total time, and also maintain sorted list (highest to lowest) of events that occurred.
By setting NumberOfTopOffendersToTrack to 0, users can manage their own lists of "TopOffenders", or otherwise avoid the per add overhead of this tracking.
|
inline |
|
inline |
|
inline |
|
inline |
|
delete |
|
default |
| void FDelinquencyAnalytics::Reset | ( | ) |