Navigation
Unreal Engine C++ API Reference > Developer > TraceServices > TraceServices > Model
Inheritance Hierarchy
References
Module | TraceServices |
Header | /Engine/Source/Developer/TraceServices/Public/TraceServices/Model/TasksProfiler.h |
Include | #include "TraceServices/Model/TasksProfiler.h" |
Syntax
class ITasksProvider : public [TraceServices::IProvider](API\Developer\TraceServices\TraceServices\Model\IProvider)
Remarks
Query interface to tasks info
Destructors
Type | Name | Description |
---|---|---|
~ITasksProvider () |
Functions
Type | Name | Description |
---|---|---|
void | EnumerateTasks ( double StartTime, double EndTime, ETaskEnumerationOption EnumerationO..., TaskCallback Callback ) | Calls the callback for each task stored in the provider with CreatedTimestamp <= EndTime and FinishedTimestamp >= StartTime. |
int64 | GetNumTasks () | Returns the number of tasks stored in the provider |
TArray< Task... | TryGetParallelForTasks ( const TCHAR* TimerName, uint32 ThreadId, double StartTime, double EndTime ) | Returns an info about ParallelFor tasks for given timer |
const FTaskI... | TryGetTask ( TaskTrace::FId TaskId ) | Returns task info for given task ID |
const FTaskI... | TryGetTask ( uint32 ThreadId, double Timestamp ) | Returns a task for given thread and timestamp, if any, otherwise `nullptr_ |
const FWaiti... | TryGetWaiting ( const TCHAR* TimerName, uint32 ThreadId, double Timestamp ) | Returns an info about waiting for tasks completion for given thread and timestamp, if any, otherwise `nullptr_ |
Typedefs
Name | Description |
---|---|
TaskCallback |