Viewing Queue Track Tasks Instrumented with States

In the majority of workflows, tasks can only be ended with respect to strict nesting. In other words, a call to __itt_task_end() applies only to the most recently open task within the calling thread.  

Some workflow representations, such as OpenCL queues, start a specified task earlier than the most recently open task finishes.

Intel® GPA Platform Analyzer visualizes such workflows by staggering task begins and ends as shown in the picture below.

The Intel® GPA Platform Analyzer Timeline View shows queue track tasks instrumented with states. The states are clearly delineated.

Tasks are placed in the lowest position possible on the track, based on their starting time and other tasks.

A task can contain up to eight state colors. The state colors repeat if a task contains more that eight states.

Intel Graphics Performance Analyzers overlapped%20tasks Viewing Queue Track Tasks Instrumented with States

For more information, refer to the Intel® GPA SDK Reference available from the Start Menu.

See Also

Defining Styles for Task and Markers

Viewing Queue Track Tasks Instrumented with States