> ## 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 GPU à échantillonner.

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

## Syntaxe

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

### Paramètres

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

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

### Valeur renvoyée

Type : void

## Remarques

Le titre doit appeler cette fonction pour spécifier les compteurs GPU qu'il souhaite échantillonner. Après cet appel, le titre peut échantillonner les compteurs sélectionnés en appelant [ID3D12GraphicsCommandList::SampleCountersX](/fr/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/reference/graphics/d3d12_x/interfaces/id3d12device/methods/id3d12device_createcountersetx)

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

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

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


## Related topics

- [Répertoire des rubriques NDA : liens actifs vers Microsoft Learn](/fr/nda/nda-topic-directory.md)
- [PIXReportCounter](/fr/reference/tools/pix3/functions/pixreportcounter.md)
- [chat_manager::start_processing_data_frames](/fr/reference/chat/gamechat2/classes/chat_manager/methods/chat_manager_start_processing_data_frames.md)
- [chat_manager::start_processing_state_changes](/fr/reference/chat/gamechat2/classes/chat_manager/methods/chat_manager_start_processing_state_changes.md)
- [ACP_MESSAGE_AUDIO_FRAME_START](/fr/reference/audio/acphal/structs/acp_message_audio_frame_start.md)
