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

# WIN32_HEAP_STATISTICS

> WIN32_HEAP_STATISTICS

# WIN32\_HEAP\_STATISTICS

Contém estatísticas de um determinado heap.

<a id="syntaxSection" />

## Sintaxe

```cpp theme={null}
typedef struct _XMEM_WIN32_HEAP_STATISTICS {
    SIZE_T SegmentCommitSize;
    SIZE_T LargeAllocCommitSize;
    SIZE_T reserved[6];
} WIN32_HEAP_STATISTICS, *PWIN32_HEAP_STATISTICS;
```

<a id="membersSection" />

### Membros

*SegmentCommitSize*\
Tipo: SIZE\_T

O tamanho total confirmado da parte com suporte de segmento do heap do Win32.

*LargeAllocCommitSize*\
Tipo: SIZE\_T

O tamanho total confirmado para alocações grandes que não são armazenadas em cache pelo heap de segmento.

*reserved*\
Tipo: SIZE\_T

Reservado para uso futuro.

<a id="remarksSection" />

## Comentários

Essa estrutura é usada por [XMemGetWin32HeapStatistics](/pt-BR/reference/system/xmem/functions/xmemgetwin32heapstatistics) para fornecer estatísticas sobre um determinado heap do Win32.

O heap do Win32 atende às alocações por meio de memória armazenada em cache na parte "com suporte de segmento" do heap ou por chamadas diretas para VirtualAlloc em nome do código de chamada.  SegmentCommitSize rastreia o total confirmado que pertence à parte com suporte de segmento do heap.  LargeAllocCommitSize rastreia o total confirmado usado pelas alocações atendidas diretamente por VirtualAlloc.  A soma desses dois campos fornece uma estimativa da memória em uso por um heap do Win32.

<a id="requirementsSection" />

## Requisitos

**Cabeçalho:** xmem.h

**Plataformas compatíveis:** consoles da família XBOX One e consoles XBOX Series

<a id="seealsoSection" />

## Confira também

[Diagnóstico e rastreamento de memória](/pt-BR/build/console-features/memory/system-memory-diagnostics)\
[XMemGetWin32HeapStatistics](/pt-BR/reference/system/xmem/functions/xmemgetwin32heapstatistics)\
[XMem](/pt-BR/reference/system/xmem/xmem_members)


## Related topics

- [WIN32_HEAP_STATISTICS](/reference/system/xmem/structs/win32_heap_statistics.md)
- [XMemGetWin32HeapStatistics](/reference/system/xmem/functions/xmemgetwin32heapstatistics.md)
