Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/ProfilingDebugging
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/ProfilingDebugging/TraceAuxiliary.h |
| Include | #include "ProfilingDebugging/TraceAuxiliary.h" |
Syntax
class FTraceAuxiliary
Functions
| Type | Name | Description | |
|---|---|---|---|
DECLARE_TS_MULTICAST_DELEGATE
(
FOnConnection |
Callback type when a new connection is established. | ||
DECLARE_TS_MULTICAST_DELEGATE_TwoParams
(
FOnSnapshotSaved, |
Callback whenever a trace snapshot is saved. Path is the file system path of the snapshot file. | ||
DECLARE_TS_MULTICAST_DELEGATE_TwoParams
(
FOnTraceStopped, |
Callback whenever a trace recording is stopped. | ||
DECLARE_TS_MULTICAST_DELEGATE_TwoParams
(
FOnTraceStarted, |
Callback whenever a trace is started | ||
| void | DisableChannels
(
const TCHAR* Channels |
Disable channels to stop recording traces with them. | |
| void | Enable previously selected channels. | ||
| void | GetActiveChannelsString
(
FStringBuilderBase& String |
Adds a comma separated list of currently active channels to the passed in StringBuilder | |
| EConnectionType | Returns the current connection type. | ||
| const TCHAR * | Returns the destination string that is currently being traced to. | ||
| FString | Returns the destination string that is currently being traced to. | ||
| void | Initialize
(
const TCHAR* CommandLine |
Initialize Trace systems. | |
| void | InitializePresets
(
const TCHAR* CommandLine |
Initialize channels that use the config driven presets. | |
| bool | IsConnected
(
FGuid& OutSessionGuid, |
Returns whether the trace system is currently connected. | |
| bool | IsConnected () |
Returns whether the trace system is currently connected to a trace sink (file or network) | |
| bool | IsPaused () |
||
| void | Panic () |
Used when process is panicking. | |
| bool | Pause () |
Pause all tracing by disabling all active channels. | |
| bool | Resume () |
Resume tracing by enabling all previously active channels. | |
| bool | SendSnapshot
(
const TCHAR* Host, |
Write tailing memory state to a trace server. | |
| void | Shutdown () |
Shut down Trace systems. | |
| bool | Start
(
EConnectionType Type, |
Start tracing to a target (network connection or file) with an active set of channels. | |
| bool | Stop () |
Stop tracing. | |
| void | Attempts to auto connect to an active trace server if an active session of Unreal Insights Session Browser is running. | ||
| bool | WriteSnapshot
(
const TCHAR* FilePath |
Write tailing memory state to a utrace file. |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FOptions |
Enums
| Type | Name | Description | |
|---|---|---|---|
| EConnectionType |
Typedefs
| Name | Description |
|---|---|
| FLogCategoryAlias | In no logging configurations all log categories are of type FNoLoggingCategory, which has no relation with FLogCategoryBase. |
Constants
| Name | Description |
|---|---|
| OnConnection | Delegate that triggers when a connection is established. |
| OnSnapshotSaved | Delegate that triggers when a snapshot has been saved. |
| OnTraceStarted | Delegate that triggers when a trace session is started. |
| OnTraceStopped | Delegate that triggers when a trace has finished recording. |