Navigation
API > API/Runtime > API/Runtime/IrisCore > API/Runtime/IrisCore/Iris > API/Runtime/IrisCore/Iris/Stats
References
| Module | IrisCore |
| Header | /Engine/Source/Runtime/Experimental/Iris/Core/Public/Iris/Stats/NetStats.h |
| Include | #include "Iris/Stats/NetStats.h" |
Syntax
class FNetSendStats
Remarks
Send stats for Iris replication reported to the CSV profiler. Mostly of interest on the server side due to the server authoritative network model. Its intended use is to do thread local tracking to an instance and then use the Accumulate function for thread safe updating of the ReplicationSystem owned instance. The ReplicationSystem owned instance is the one reporting to the CSV profiler.
Constructors
| Type | Name | Description | |
|---|---|---|---|
FNetSendStats
(
const FNetSendStats& |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Accumulate
(
const FNetSendStats& Stats |
Add stats from another instance. | |
| void | AddHugeObjectStallTime
(
double Seconds |
Add time in seconds waiting to be able to continue sending huge object. | |
| void | AddHugeObjectWaitingTime
(
double Seconds |
Add time in seconds waiting for completely sent huge object to be acked. | |
| void | AddNumberOfDeltaCompressedReplicatedObjects
(
uint32 Count |
Add number of replicated objects, including subobjects, using delta compression. | |
| void | AddNumberOfReplicatedDestructionInfos
(
uint32 Count |
Add number of replicated destruction infos. | |
| void | AddNumberOfReplicatedObjects
(
uint32 Count |
Add number of replicated objects, including subobjects. | |
| void | AddNumberOfReplicatedObjectStatesMaskedOut
(
uint32 Count |
Add number of replicated object states masked out such that no state is replicated for the object. | |
| void | AddNumberOfReplicatedRootObjects
(
uint32 Count |
Add number of replicated root objects. | |
| void | AddReplicationWasteTime
(
double Seconds |
Add time spent on trying to replicate an object in the packet but that ended up not fitting. | |
| uint32 | Get the number of replicated objects, including subobjects. | ||
| uint32 | Get the number of replicated root objects. | ||
| void | Report the stats to the CSV profiler. Does nothing if CSV profiler support is compiled out. | ||
| void | Reset () |
Reset stats. | |
| void | SetNumberOfActiveHugeObjects
(
uint32 Count |
Set the number of huge objects in sending or waiting to be acked. | |
| void | SetNumberOfReplicatingConnections
(
uint32 Count |
Set number of replicating connections. | |
| void | SetNumberOfRootObjectsScheduledForReplication
(
uint32 Count |
Set number of objects scheduled for replication. |
Operators
| Type | Name | Description | |
|---|---|---|---|
| FNetSendStats & | operator=
(
const FNetSendStats& |