Work with Tracks, Events, and Time Ranges in AMD ROCm Optiq (Timeline, Event Details, Measure)

In the video, Sajeeth demonstrates how to effectively manage tracks, events, and time ranges in AMD ROCm Optiq, including selecting and customizing tracks, inspecting event details and flows, and measuring durations using time ranges and rulers. He highlights key features for organizing and analyzing performance data, setting the stage for the next video on advanced details tables, search, annotations, and customization options.

In this video, Sajeeth demonstrates how to work with tracks, events, and time ranges in AMD ROCm Optiq. He begins by showing how to select and arrange tracks on the timeline. Clicking a track’s description area selects it and displays its events in the event table below, while the track details tab provides information about the selected track. Users can right-click tracks to copy their name or ID or reveal them in the system topology panel. Track options allow customization of event colors, including no color, color by time level, or color by name. Tracks with deep call stacks can be expanded or collapsed, resized, and reordered by dragging.

Next, Sajeeth explains how to work with counter tracks, which plot sampled values over time. Hovering over the graph reveals specific values, and the pills show average and standard deviation across the visible range. Users can toggle the display of filled boxes under the line, alternate their colors, or highlight specific value ranges. These features provide essential insights into the performance metrics represented by the counters.

The video then covers inspecting individual events and following the flows that connect them. By dragging the splitter, users can give more space to the details panel. Hovering over an event shows its name, start time, and duration, while clicking an event opens detailed information including flow data and extended event data such as queue and dispatch IDs. Flow arrows visually connect related events, like API calls and the kernels they launch, enabling users to trace work from CPU to GPU. Multiple events can be selected using control-click, and selections can be cleared easily.

Sajeeth proceeds to demonstrate how to select time ranges and measure durations between events. Users can hold control and drag across the timeline to create a time range, adjust its edges, remove it, or zoom to fit it. Selected events can also be converted into time ranges using keyboard shortcuts. Measure mode allows users to place rulers that snap to event start or end times, showing the duration between two events. Alternatively, rulers can be placed anywhere on the timeline in anywhere mode. Measurements can be copied, cleared, or zoomed to fit, and users can exit measure mode when finished.

In conclusion, the video provides a comprehensive overview of managing tracks, events, and time ranges in ROCm Optiq, highlighting key features for organizing, inspecting, and measuring performance data. Sajeeth wraps up by mentioning that the next video will cover advanced details tables, search, annotations, and customization options within Optiq, encouraging viewers to continue exploring the tool’s capabilities.