IPixGpuCaptureTiming::GetQueueData method

Get timing data for a specified queue and index.

Syntax

HRESULT GetQueueData(
    IPixGpuCaptureQueueInfo * queueInfo,
    UINT64 index,
    PIX_EVENT_TIMING * timing);

Parameters

queueInfo [in]

The queue to retrieve the timing for.

index [in]

The index of the timing data to retrieve. This also corresponds to the index of an event on the specified queue.

timing [out]

A preallocated PIX_EVENT_TIMING structure that receives the timing data. Fields are set to PIX_EVENT_TIMING_NONE for events without timing data.

Returns

S_OK if the getting queue timing was successful, otherwise an error code

See also