IPixGpuCaptureHighFrequencyCounters::CollectCounterData method

Collect high-frequency counter data for specified counter sets. The counter sets can be either be the ones provided by GetGpuCounterSets or user defined ones obtained from CreateGpuCounterSet.

Syntax

HRESULT CollectCounterData(
    UINT64 setCount,
    IPixGpuCaptureHighFrequencyCounterCollection *const * sets,
    REFIID riid,
    void ** counterData);

Parameters

setCount [in]

The number of sets (IPixGpuCaptureHighFrequencyCounterCollection*) to collect data for.

sets [in]

Pointer to array of sets (IPixGpuCaptureHighFrequencyCounterCollection*) to collect data for.

riid [in]

The interface IID. Expected: IPixGpuCaptureHighFrequencyCounterData

counterData [out]

The pointer to the returned interface.

Returns

S_OK on success, otherwise an error code.

See also