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

# IDStorageFactoryX1::GetStats

> IDStorageFactoryX1::GetStats

# IDStorageFactoryX1::GetStats

Obtém as estatísticas do DirectStorage. As estatísticas não incluem a E/S de arquivos Win32.

## Sintaxe

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

### Parâmetros

*stats*\
Tipo: [DSTORAGE\_STATS](/pt-BR/reference/system/dstorage/structs/dstorage_stats) \*

Ponteiro para uma estrutura que receberá as estatísticas do DirectStorage.

### Valor retornado

Tipo: void

## Comentários

Essa função pode ser usada para integrar o DirectStorage a pipelines existentes de diagnóstico e telemetria. Ela faz um processamento mínimo e, portanto, pode ser chamada com frequência. As estatísticas não incluem operações de E/S de arquivos Win32.

## Requisitos

**Cabeçalho:** dstorage\_xs.h

**Biblioteca:** dstorage\_xs.lib

**Plataformas compatíveis:** consoles XBOX Series

## Confira também

[IDStorageFactoryX1](/pt-BR/reference/system/dstorage/interfaces/IDStorageFactoryX1/idstoragefactoryx1)\
[DStorage](/pt-BR/reference/system/dstorage/dstorage_members)\
[Visão geral do DirectStorage](/pt-BR/build/console-features/storage/directstorage/directstorage-overview)


## Related topics

- [IDStorageFactoryX1::GetStats](/reference/system/dstorage/interfaces/IDStorageFactoryX1/methods/idstoragefactoryx1_getstats.md)
- [DSTORAGE_STATS](/reference/system/dstorage/structs/dstorage_stats.md)
- [DSTORAGE_PRIORITY_STATS](/reference/system/dstorage/structs/dstorage_priority_stats.md)
