ID3D11Counter Interface
This interface encapsulates methods for measuring GPU performance.
Mitglieder
ID3D11CounterSchnittstelle erbt von ID3D11Asynchronous. ID3D11Counter umfasst auch die folgenden Typen von Mitgliedern:
- Methoden
Methoden
ID3D11CounterSchnittstelle umfasst die folgenden Methoden.
Methode | Beschreibung |
---|---|
GetDesc | Get a counter description. |
Hinweise
A counter can be created with ID3D11Device::CreateCounter.
This is a derived class of ID3D11Asynchronous.
Counter data is gathered by issuing an ID3D11DeviceContext::Begin command, issuing some graphics commands, issuing an ID3D11DeviceContext::End command, and then calling ID3D11DeviceContext::GetData to get data about what happened in between the Begin and End calls. The data returned by GetData will be different depending on the type of counter. The call to End causes the data returned by GetData to be accurate up until the last call to End.
Counters are best suited for profiling.
For a list of the types of performance counters, see D3D11_COUNTER.