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

# ConfigureL2IPMCs

> ConfigureL2IPMCs

# ConfigureL2IPMCs

L2 キャッシュ内のパフォーマンス カウンターを構成します。

## 構文

```cpp theme={null}
HRESULT ConfigureL2IPMCs(  
         unsigned int eventIndex10,  
         unsigned int eventIndex11,  
         unsigned int eventIndex12,  
         unsigned int eventIndex13  
)  
```

### パラメーター

*eventIndex10*   \
Type: unsigned int

カウントするイベントのインデックスです。

*eventIndex11*   \
Type: unsigned int

カウントするイベントのインデックスです。

*eventIndex12*   \
Type: unsigned int

カウントするイベントのインデックスです。

*eventIndex13*   \
Type: unsigned int

カウントするイベントのインデックスです。

### 戻り値

Type: HRESULT

成功またはエラー コードです。

| コード | 説明 |
| - | - |
| S\_OK | 成功。 |
| E\_INVALIDARG | いずれかのインデックスが範囲外です。 |
| E\_ACCESS\_DENIED | ドライバーへのアクセスが拒否されました。 |

## 解説

L2 キャッシュは 2 つあり、それぞれの L2 キャッシュにはイベントをカウントできる 4 つのパフォーマンス カウンターがあります。\
ConfigureL2IPMCs は、両方の L2 のイベントを同一に構成します。\
1 つ目の L2 はコア 0～3 に紐づいています。2 つ目の L2 はコア 4～7 に紐づいています。特定の L2 のイベントは、その L2 に紐づいたコアから読み取る必要があります。\
L2 トランザクションは 64 バイトです。

| Index | Event | 説明 |
| - | - | - |
| 0 | Reserved | |
| 1 | L2MissICFill | L2 でミスした IC リクエストの数 |
| 2 | L2MissDCFill | L2 でミスした DC リクエストの数 |
| 3 | L2MissPrefetchFill | L2 でミスしたプリフェッチ リクエストの数 |
| 4 | L2MissAll | L2 ミスの合計数 |
| 5 | L2Writeback | L2 のクリーンおよびダーティ ライトバックの数 |
| 6 | L2CleanWriteback | L2 のクリーン ライトバックの数 |
| 7 | L2Fill | L2 のフィルの数 |
| 8 | L2FillWriteback | L2 のフィルおよびライトバックの合計数 |

## 要件

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

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

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

## 関連項目

[GetPMCValue](https://docs.xbox.com/ja-jp/reference/tools/pix3/functions/getpmcvalue.md)\
[ConfigurePMCs](https://docs.xbox.com/ja-jp/reference/tools/pix3/functions/configurepmcs.md)\
[ConfigureNBPMCs](https://docs.xbox.com/ja-jp/reference/tools/pix3/functions/configurenbpmcs.md)\
[XBOX 上の PIX3](https://docs.xbox.com/ja-jp/reference/tools/pix3/pix3_members.md)\
[PIX (NDA トピック)](https://docs.xbox.com/ja-jp/tools/tools-console/pix/pix.md)


## Related topics

- [ConfigureNBPMCs](https://docs.xbox.com/ja-jp/reference/tools/pix3/functions/configurenbpmcs.md)
- [ConfigurePMCs](https://docs.xbox.com/ja-jp/reference/tools/pix3/functions/configurepmcs.md)
- [GetPMCValue](https://docs.xbox.com/ja-jp/reference/tools/pix3/functions/getpmcvalue.md)
- [PIX3 (API の内容)](https://docs.xbox.com/ja-jp/reference/tools/pix3/pix3_members.md)
- [GET (/ext/unattendedsetup/configure)](https://docs.xbox.com/ja-jp/reference/deviceportal/unattendedsetup/uri-extunattendedsetupconfigure-get.md)
