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

# GetPMCValue

> GetPMCValue

# GetPMCValue

ハードウェア パフォーマンス モニター カウンター (PMC) の値を取得します。

## 構文

```cpp theme={null}
void GetPMCValue(  
         UINT32 index,  
         UINT64* value  
)  
```

### パラメーター

*index*   \
Type: UINT32

ハードウェア カウンターのインデックスです (0 から 3)。

*value*   \
Type: UINT64\*

カウンターの値です。64 ビット整数へのポインターとして返されます。

### 戻り値

Type: void

## 解説

イベントをカウントするために直接構成できるハードウェア カウンターが 4 つあります。カウント可能なイベントは [ConfigurePMCs](/reference/tools/pix3/functions/configurepmcs) の解説に一覧化されています。[ConfigurePMCs](/reference/tools/pix3/functions/configurepmcs) を使用してハードウェア カウンターにイベントの追跡を構成します。その後、`GetPMCValue` を使用して、構成したイベントのいずれかのカウントを取得できます。

## 要件

**ヘッダー:** pix3\_xbox.h

**ライブラリ:** pixevt.lib

**サポートされているプラットフォーム:** XBOX One ファミリ本体および XBOX Series 本体

## 関連項目

[ConfigurePMCs](/reference/tools/pix3/functions/configurepmcs)\
[ConfigureL2IPMCs](/reference/tools/pix3/functions/configurel2ipmcs)\
[ConfigureNBPMCs](/reference/tools/pix3/functions/configurenbpmcs)\
[XBOX 上の PIX3](/reference/tools/pix3/pix3_members)\
[PIX (NDA トピック)](/tools/tools-console/pix/pix)


## Related topics

- [ConfigureL2IPMCs](/ja-jp/reference/tools/pix3/functions/configurel2ipmcs.md)
- [ConfigureNBPMCs](/ja-jp/reference/tools/pix3/functions/configurenbpmcs.md)
- [ConfigurePMCs](/ja-jp/reference/tools/pix3/functions/configurepmcs.md)
- [GetCompletedValue](/ja-jp/reference/graphics/d3d12/interfaces/id3d12fence/methods/id3d12fence_getcompletedvalue_public.md)
- [XtfGetConsoleFieldValue](/ja-jp/reference/tools/xtf/xtfapi/functions/xtfgetconsolefieldvalue-xbox-microsoft-m.md)
