> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# StartCountersX (famille XBOX One)

> Sélectionne un ensemble de compteurs du GPU à échantillonner.

Sélectionne un ensemble de compteurs du GPU à échantillonner.

## Syntaxe

```cpp theme={null}
void StartCountersX(  
         ID3D12GraphicsCommandList* pCommandList,  
         ID3D12XboxCounterSet* pCounterSet  
)  
```

### Paramètres

*pCounterSet*   \_In\_\
Type : ID3D12XboxCounterSet\*

L'ensemble de compteurs à échantillonner. Cette interface doit être créée par [ID3D12Device::CreateCounterSetX](/fr-CA/reference/graphics/d3d12_x/interfaces/id3d12device/methods/id3d12device_createcountersetx)

### Valeur de retour

Type : void

## Remarques

Le titre doit appeler cette fonction pour spécifier les compteurs du GPU qu'il souhaite échantillonner. Après cet appel, le titre peut échantillonner les compteurs sélectionnés en appelant [ID3D12GraphicsCommandList::SampleCountersX](/fr-CA/reference/graphics/d3d12_x/interfaces/id3d12graphicscommandlist/methods/id3d12graphicscommandlist_samplecountersx).

## Configuration requise

**En-tête :** d3d12\_x.h

**Bibliothèque :** d3d12\_x.lib

**Plateformes prises en charge** : famille XBOX One

## Voir aussi

[ID3D12Device::CreateCounterSetX](/fr-CA/reference/graphics/d3d12_x/interfaces/id3d12device/methods/id3d12device_createcountersetx)

[ID3D12GraphicsCommandList](/fr-CA/reference/graphics/d3d12_x/interfaces/id3d12graphicscommandlist/id3d12graphicscommandlist)

[ID3D12GraphicsCommandList::SampleCountersX](/fr-CA/reference/graphics/d3d12_x/interfaces/id3d12graphicscommandlist/methods/id3d12graphicscommandlist_samplecountersx)

[ID3D12GraphicsCommandList::StopCountersX](/fr-CA/reference/graphics/d3d12_x/interfaces/id3d12graphicscommandlist/methods/id3d12graphicscommandlist_stopcountersx)


## Related topics

- [Répertoire des rubriques NDA : liens actifs vers Microsoft Learn](/fr-CA/nda/nda-topic-directory.md)
- [PIXReportCounter](/reference/tools/pix3/functions/pixreportcounter.md)
- [Documentation de développement de jeux XBOX](/fr-CA/index.md)
- [PIX3](/reference/tools/pix3/pix3_members.md)
