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

Obtiene las estadísticas de DirectStorage. Las estadísticas no incluyen la E/S de archivos Win32.

## Sintaxis

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

### Parámetros

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

Puntero a una estructura que recibirá las estadísticas de DirectStorage.

### Valor devuelto

Tipo: void

## Comentarios

Esta función se puede usar para integrar DirectStorage con las canalizaciones de diagnóstico y telemetría existentes. Realiza un procesamiento mínimo y, por tanto, se puede llamar con frecuencia. Las estadísticas no incluyen las operaciones de E/S de archivos Win32.

## Requisitos

**Encabezado:** dstorage\_xs.h

**Biblioteca:** dstorage\_xs.lib

**Plataformas compatibles:** consolas XBOX Series

## Consulte también

[IDStorageFactoryX1](/reference/system/dstorage/interfaces/IDStorageFactoryX1/idstoragefactoryx1)\
[DStorage](/reference/system/dstorage/dstorage_members)\
[Información general de DirectStorage](/build/console-features/storage/directstorage/directstorage-overview)


## Related topics

- [DSTORAGE_STATS](/es/reference/system/dstorage/structs/dstorage_stats.md)
- [DSTORAGE_PRIORITY_STATS](/es/reference/system/dstorage/structs/dstorage_priority_stats.md)
- [IDStorageFactoryX1](/es/reference/system/dstorage/interfaces/IDStorageFactoryX1/idstoragefactoryx1.md)
- [Información general de DirectStorage](/es/build/console-features/storage/directstorage/directstorage-overview.md)
- [DStorageGetFactory](/es/reference/system/dstorage/functions/dstoragegetfactory.md)
