Navigation
API > API/Developer > API/Developer/TraceServices
Query interface to tasks info
| Name | ITasksProvider |
| Type | class |
| Header File | /Engine/Source/Developer/TraceServices/Public/TraceServices/Model/TasksProfiler.h |
| Include Path | #include "TraceServices/Model/TasksProfiler.h" |
Syntax
class ITasksProvider : public TraceServices::IProvider
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~ITasksProvider() |
TraceServices/Model/TasksProfiler.h |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| TaskCallback | TFunctionRef< ETaskEnumerationResult(const FTaskInfo &Task)> | TraceServices/Model/TasksProfiler.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void EnumerateTasks
(
double StartTime, |
Calls the callback for each task stored in the provider with CreatedTimestamp <= EndTime and FinishedTimestamp >= StartTime. | TraceServices/Model/TasksProfiler.h | |
int64 GetNumTasks() |
Returns the number of tasks stored in the provider | TraceServices/Model/TasksProfiler.h | |
TArray< TaskTrace::FId > TryGetParallelForTasks
(
const TCHAR* TimerName, |
Returns an info about ParallelFor tasks for given timer | TraceServices/Model/TasksProfiler.h | |
const FTaskInfo * TryGetTask
(
TaskTrace::FId TaskId |
Returns task info for given task ID | TraceServices/Model/TasksProfiler.h | |
const FTaskInfo * TryGetTask
(
uint32 ThreadId, |
Returns a task for given thread and timestamp, if any, otherwise `nullptr_ | TraceServices/Model/TasksProfiler.h | |
const FWaitingForTasks * TryGetWaiting
(
const TCHAR* TimerName, |
Returns an info about waiting for tasks completion for given thread and timestamp, if any, otherwise `nullptr_ | TraceServices/Model/TasksProfiler.h |