COR_GC_STAT_TYPES Enumeration

Specifies the statistics to be recorded for a garbage collection.

Syntax

typedef enum {  
    COR_GC_COUNTS                 = 0x00000001  
    COR_GC_MEMORYUSAGE            = 0x00000002  
} COR_GC_STAT_TYPES;  

Remarks

This enumeration specifies which statistics in the COR_GC_STATS structure are to be set by ICLRGCManager::GetStats method.

Members

Member Description
COR_GC_COUNTS Records the number of garbage collections performed for each generation.
COR_GC_MEMORYUSAGE Records memory usage and garbage collection size statistics.

Requirements

Platforms: See System Requirements.

Header: GCHost.idl, GCHost.h

.NET Framework Versions: Available since 1.0

See Also

COR_GC_STATS Structure
Hosting Enumerations