get_action_timings
Retrieve GPU timing data for draw calls and dispatches to analyze performance. Filter by event IDs or markers to isolate specific actions.
Instructions
Get GPU timing information for actions (draw calls, dispatches, etc.).
Args: event_ids: Optional list of specific event IDs to get timings for. If not specified, returns timings for all actions. marker_filter: Only include actions under markers containing this string (partial match). exclude_markers: Exclude actions under markers containing these strings.
Returns timing data including:
available: Whether GPU timing counters are supported
unit: Time unit (typically "seconds")
timings: List of {event_id, name, duration_seconds, duration_ms}
total_duration_ms: Sum of all durations
count: Number of timing entries
Note: GPU timing counters may not be available on all hardware/drivers.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| event_ids | No | ||
| marker_filter | No | ||
| exclude_markers | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||