> ## 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.

# StopCountersX (XBOX One 系列)

> 結束 GPU 計數器的取樣期間。

結束 GPU 計數器的取樣期間。

## 語法

```cpp theme={null}
void StopCountersX(  
         ID3D12GraphicsCommandList* pCommandList  
)  
```

### 參數

### 傳回值

類型：void

## 備註

遊戲應呼叫此函式，以結束先前呼叫 [ID3D12GraphicsCommandList::StartCountersX](/zh-TW/reference/graphics/d3d12_x/interfaces/id3d12graphicscommandlist/methods/id3d12graphicscommandlist_startcountersx) 所開始的 GPU 取樣，並解除該呼叫所繫結的計數器集。

## 需求

**標頭：** d3d12\_x.h

**程式庫：** d3d12\_x.lib

**支援的平台**：XBOX One 系列

## 另請參閱

[ID3D12GraphicsCommandList](/zh-TW/reference/graphics/d3d12_x/interfaces/id3d12graphicscommandlist/id3d12graphicscommandlist)

[ID3D12GraphicsCommandList::StartCountersX](/zh-TW/reference/graphics/d3d12_x/interfaces/id3d12graphicscommandlist/methods/id3d12graphicscommandlist_startcountersx)


## Related topics

- [PIXReportCounter](/zh-TW/reference/tools/pix3/functions/pixreportcounter.md)
- [XAppCaptureStopUserRecord](/zh-TW/reference/system/xappcapture/functions/xappcapturestopuserrecord.md)
- [XAppCaptureMetadataStopState](/zh-TW/reference/system/xappcapture/functions/xappcapturemetadatastopstate.md)
- [SetShapeXmaStopWhenDone](/zh-TW/reference/audio/shapexmacontext/functions/setshapexmastopwhendone.md)
- [GetShapeXmaStopWhenDone](/zh-TW/reference/audio/shapexmacontext/functions/getshapexmastopwhendone.md)
