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

# DSTORAGE_STATS

> DSTORAGE_STATS

# DSTORAGE\_STATS

DirectStorage の統計情報。

## 構文

```cpp theme={null}
struct DSTORAGE_STATS
{
    DSTORAGE_PRIORITY_STATS LowPriorityStats;
    DSTORAGE_PRIORITY_STATS NormalPriorityStats;
    DSTORAGE_PRIORITY_STATS HighPriorityStats;
    DSTORAGE_PRIORITY_STATS RealtimePriorityStats;
    UINT8 CurrentOpenVirtualDiskCount;
    UINT8 MaxOpenVirtualDiskCount;
    UINT32 CumulativeOpenVirtualDiskCount;
    UINT32 PendingStorageRequestCount;
    UINT32 TotalStorageRequestCount;
    UINT32 StorageRetries;
    UINT32 StorageErrors;
    UINT32 PendingDecompressionRequestCount;
    UINT32 TotalDecompressionRequestCount;
    UINT32 DecompressionErrors;
    UINT32 StagingBufferStallCount;
    UINT32 CurrentOpenFileCount;
    UINT32 MaxOpenFileCount;
    UINT32 CumulativeOpenFileCount;
    UINT32 CurrentTitleMemoryUsageBytes;
    UINT32 MaxTitleMemoryUsageBytes;
    UINT32 ErrorCount;
};
```

### メンバー

*LowPriorityStats*\
Type: [DSTORAGE\_PRIORITY\_STATS](/reference/system/dstorage/structs/dstorage_priority_stats)

低優先度キューの統計情報。

*NormalPriorityStats*\
Type: [DSTORAGE\_PRIORITY\_STATS](/reference/system/dstorage/structs/dstorage_priority_stats)

通常優先度キューの統計情報。

*HighPriorityStats*\
Type: [DSTORAGE\_PRIORITY\_STATS](/reference/system/dstorage/structs/dstorage_priority_stats)

高優先度キューの統計情報。

*RealtimePriorityStats*\
Type: [DSTORAGE\_PRIORITY\_STATS](/reference/system/dstorage/structs/dstorage_priority_stats)

リアルタイム優先度キューの統計情報。

*CurrentOpenVirtualDiskCount*\
Type: UINT8

現在開いている仮想ディスクの数 (ゲーム パッケージ、DLC パッケージ、
開発者スクラッチ、PLS)。

*MaxOpenVirtualDiskCount*\
Type: UINT8

同時に開かれた仮想ディスクの最大数。

*CumulativeOpenVirtualDiskCount*\
Type: UINT32

開かれた仮想ディスクの累積数。

*PendingStorageRequestCount*\
Type: UINT32

DirectStorage によってストレージ デバイスに送信された、ハードウェアによってまだ完了されていない要求の数。

*TotalStorageRequestCount*\
Type: UINT32

DirectStorage によってストレージ デバイスに送信された要求の総数。

*StorageRetries*\
Type: UINT32

ストレージ デバイスの再試行回数。

*StorageErrors*\
Type: UINT32

ストレージ デバイスのエラー数。

*PendingDecompressionRequestCount*\
Type: UINT32

現在保留中の展開要求の数。

*TotalDecompressionRequestCount*\
Type: UINT32

展開要求の総数。

*DecompressionErrors*\
Type: UINT32

展開エラーの数。

*StagingBufferStallCount*\
Type: UINT32

ステージング バッファーが満杯であることによって発生したストールの数。

*CurrentOpenFileCount*\
Type: UINT32

現在開いているファイルの数。

*MaxOpenFileCount*\
Type: UINT32

同時に開かれたファイルの最大数。

*CumulativeOpenFileCount*\
Type: UINT32

開かれたファイルの累積数。

*CurrentTitleMemoryUsageBytes*\
Type: UINT32

現在の DirectStorage メモリ フットプリント (ステージング バッファーなどを含む)。

*MaxTitleMemoryUsageBytes*\
Type: UINT32

DirectStorage メモリ フットプリントの最大値 (ステージング バッファーなどを含む)。

*ErrorCount*\
Type: UINT32

エラーの総数。
エラー カウントは、なんらかの理由で要求が失敗するたびに増加します。
エラーの例: 無効なオフセットからのデータ読み取り、ストレージ デバイス エラー、
展開エラー、無効な要求パラメーターなど。

## 解説

この構造体は、[IDStorageFactoryX1::GetStats](/reference/system/dstorage/interfaces/IDStorageFactoryX1/methods/idstoragefactoryx1_getstats) メソッドで使用されます。

## 要件

**ヘッダー:** dstorage\_xs.h

**サポートされているプラットフォーム:** XBOX Series 本体

## 関連項目

[DStorage](/reference/system/dstorage/dstorage_members)


## Related topics

- [DSTORAGE_PRIORITY_STATS](/ja-jp/reference/system/dstorage/structs/dstorage_priority_stats.md)
- [DStorage](/ja-jp/reference/system/dstorage/dstorage_members.md)
- [IDStorageFactoryX1::GetStats](/ja-jp/reference/system/dstorage/interfaces/IDStorageFactoryX1/methods/idstoragefactoryx1_getstats.md)
- [DSTORAGE_PRIORITY](/ja-jp/reference/system/dstorage/enums/dstorage_priority.md)
- [DSTORAGE_DEBUG](/ja-jp/reference/system/dstorage/enums/dstorage_debug.md)
