FTaskInfo

Task biography

Unreal Engine C++ API Reference > Developer > TraceServices > TraceServices > Model

References

   
Module TraceServices
Header /Engine/Source/Developer/TraceServices/Public/TraceServices/Model/TasksProfiler.h
Include #include "TraceServices/Model/TasksProfiler.h"

Syntax

struct FTaskInfo  

Remarks

Task biography

Variables

Type Name Description
bool bTracked  
uint32 CompletedThreadId  
double CompletedTimestamp Execution done and all nested tasks are completed
uint32 CreatedThreadId  
double CreatedTimestamp Some tasks can be created with delayed launch, otherwise "created" and "launched" timestamps and thread IDs are equal
const TCHAR ... DebugName This members are filled during task launch
uint32 DestroyedThreadId  
double DestroyedTimestamp The last reference is released and the task is destroyed
double FinishedTimestamp Execution finished, but the task can be still not completed waiting for all nested tasks to complete
TaskTrace::FId Id  
uint32 LaunchedThreadId  
double LaunchedTimestamp The moment and the place when the task was launched
TArray< FRelati... NestedTasks The task is completed only after all nested tasks are completed
TArray< FRelati... ParentTasks Other tasks that have this task as a nested
TArray< FRelati... Prerequisites Other tasks that must complete before this task can be scheduled
uint32 ScheduledThreadId  
double ScheduledTimestamp The moment and the place when all task's dependencies are resolved and it's added to the execution queue
uint32 StartedThreadId  
double StartedTimestamp Execution started
TArray< FRelati... Subsequents Other tasks that wait for this task completion before they'll start execution
uint64 TaskSize Task size including user-provided task body
int32 ThreadToExecuteOn  

Constructors

Type Name Description
  FTaskInfo ()  

Classes

Type Name Description
Public struct FRelationInfo Relation with another task, when and where it was established

Constants

Name Description
InvalidTimestamp Thread - ENamedThreads::AnyThread), task priority, thread priority (in case of a worker thread), and queue index (in case of a named thread - main queue or local queue). See ENamedThreads to split the info into separate fields

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library