Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Get counter value for a specified event.
Syntax
HRESULT GetEventData(
PIX_GPU_COUNTER_ID counterId,
PIX_EVENT_INFO * event,
UINT64 * counterValue);
Parameters
counterId [in]
The counter id to retrieve value for.
event [in]
The event to retrieve the counter value for.
counterValue [out]
A preallocated UINT64 that counter value will be returned in. PIX_EVENT_COUNTER_NONE will be set if the event does not have counter data. Counter value returned will need to be interpreted using the counter's PIX_FORMAT_SPECIFIER_TYPE.
Returns
S_OK if retrieving counter value was successful, otherwise an error code.