Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Net
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/Net/NetworkProfiler.h |
| Include | #include "Net/NetworkProfiler.h" |
Syntax
class FNetworkProfiler
Remarks
Network profiler, using serialized token emission like e.g. script and malloc profiler.
Constructors
| Type | Name | Description | |
|---|---|---|---|
| Constructor, initializing members.Constructor, initializing member variables. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | EnableTracking
(
bool bShouldEnableTracking |
Enables/ disables tracking. Emits a session changes if disabled. | |
| bool | Exec
(
UWorld* InWorld, |
Processes any network profiler specific exec commands | |
| void | FlushOutgoingBunches
(
UNetConnection* Connection |
Writes all the outgoing bunches for a connection in the stack to the profiler data stream. | |
| void | FlushQueuedRPCs
(
UNetConnection* Connection, |
Writes all queued RPCs for the connection to the profiler stream | |
| bool | |||
| bool | |||
| FOnNetworkProfileFinished & | Return the network profile finished delegate | ||
| void | PopSendBunch
(
UNetConnection* Connection |
Pops the latest bunch for a connection, since it is going to be merged with the next bunch. | |
| void | PushSendBunch
(
UNetConnection* Connection, |
Add a sent bunch to the stack. | |
| void | SetCurrentConnection
(
UNetConnection* Connection |
Tracks when connection address changes | |
| void | SetNextFileName
(
const FString& FileName |
Force the next profiling file to use the given filename. | |
| void | TrackBeginContentBlock
(
UObject* Object, |
Track actor content block headers | |
| void | TrackCompareProperties
(
const UObject* Object, |
Track time used to compare properties for a given object. | |
| void | TrackEndContentBlock
(
UObject* Object, |
Track actor content block headers | |
| void | TrackEvent
(
const FString& EventName, |
Track event occuring, like e.g. client join/ leave | |
| void | TrackExportBunch
(
uint16 NumBits, |
Track NetGUID export bunches. | |
| void | Marks the beginning of a frame. | ||
| void | TrackMustBeMappedGuids
(
uint16 NumGuids, |
Track "must be mapped" GUIDs | |
| void | TrackQueuedRPC
(
UNetConnection* Connection, |
Tracks queued RPCs (unreliable multicast) being sent. | |
| void | TrackReplicateActor
(
const AActor* Actor, |
Track actor being replicated. | |
| void | TrackReplicatePropertiesMetadata
(
const UObject* Object, |
Track a set of metadata for a ReplicateProperties call. | |
| void | TrackReplicateProperty
(
const FProperty* Property, |
Track property being replicated. | |
| void | TrackSendAck
(
uint16 NumBits, |
Track sent acks. | |
| void | TrackSendBunch
(
FOutBunch* OutBunch, |
Mid level UChannel::SendBunch information. | |
| void | TrackSendRPC
(
const AActor* Actor, |
Tracks and RPC being sent.Tracks and RPC being sent. | |
| void | TrackSessionChange
(
bool bShouldContinueTracking, |
Called when the server first starts listening and on round changes or other similar game events. | |
| void | TrackSocketSend
(
const FString& SocketDesc, |
Low level FSocket::Send information. | |
| void | TrackSocketSendTo
(
const FString& SocketDesc, |
Low level FSocket::SendTo information. | |
| void | TrackSocketSendToCore
(
const FString& SocketDesc, |
Low level FSocket::SendTo information. | |
| void | TrackWritePropertyHandle
(
uint16 NumBits, |
Track property handles | |
| void | TrackWritePropertyHeader
(
const FProperty* Property, |
Track property header being written. |
Constants
| Name | Description |
|---|---|
| bIsComparisonTrackingEnabled | Whether or not want to track granular information about comparisons. This can be very expensive. |