IPixGpuCaptureTiming::GetHighFrequencyCounterData method

Gets high-frequency counter data from the timing pass. Query IPixGpuCaptureHighFrequencyCounterData::GetCollectedCounterSets to see what counter sets were collected. The counter set info retrieved can be used to query the counter samples from IPixGpuCaptureHighFrequencyCounterData::GetSamples.

Syntax

HRESULT GetHighFrequencyCounterData(
    REFIID riid,
    void ** counterData);

Parameters

riid [in]

The interface IID of the object to be returned. Expected: IPixGpuCaptureHighFrequencyCounterData

counterData [out]

The pointer to the returned interface

Returns

S_OK if high frequency counter data was available, E_FAIL if not collected

See also