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

# GetStats

> IDStorageFactoryX1::GetStats

# IDStorageFactoryX1::GetStats

DirectStorage の統計情報を取得します。この統計情報には Win32 ファイル IO は含まれません。

## 構文

```cpp theme={null}
void GetStats(  
    DSTORAGE_STATS *stats  
)  
```

### パラメーター

*stats*\
Type: [DSTORAGE\_STATS](https://docs.xbox.com/ja-jp/reference/system/dstorage/structs/dstorage_stats.md) \*

DirectStorage の統計情報を受け取る構造体へのポインター。

### 戻り値

Type: void

## 解説

この関数は、既存の診断およびテレメトリのパイプラインに DirectStorage を統合するために使用できます。処理は最小限に抑えられており、頻繁に呼び出すことができます。統計情報には Win32 ファイル IO 操作は含まれません。

## 要件

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

**ライブラリ:** dstorage\_xs.lib

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

## 関連項目

[IDStorageFactoryX1](https://docs.xbox.com/ja-jp/reference/system/dstorage/interfaces/IDStorageFactoryX1/idstoragefactoryx1.md)\
[DStorage](https://docs.xbox.com/ja-jp/reference/system/dstorage/dstorage_members.md)\
[DirectStorage の概要](https://docs.xbox.com/ja-jp/build/console-features/storage/directstorage/directstorage-overview.md)


## Related topics

- [DSTORAGE_STATS](https://docs.xbox.com/ja-jp/reference/system/dstorage/structs/dstorage_stats.md)
- [DSTORAGE_PRIORITY_STATS](https://docs.xbox.com/ja-jp/reference/system/dstorage/structs/dstorage_priority_stats.md)
- [IDStorageFactoryX1 (インターフェイスの内容)](https://docs.xbox.com/ja-jp/reference/system/dstorage/interfaces/IDStorageFactoryX1/idstoragefactoryx1.md)
- [DirectStorage の概要](https://docs.xbox.com/ja-jp/build/console-features/storage/directstorage/directstorage-overview.md)
- [GetStatusFence](https://docs.xbox.com/ja-jp/reference/graphics/d3d12/interfaces/id3d12protectedsession/methods/id3d12protectedsession_getstatusfence_public.md)
