Udostępnij za pośrednictwem


COR_GC_STAT_TYPES Enumeration

Specifies the statistics to be recorded for a garbage collection.

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 .NET Framework System Requirements.

Header: GCHost.idl, GCHost.h

.NET Framework Versions: 4, 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0, 1.1, 1.0

See Also

Reference

COR_GC_STATS Structure

Other Resources

Hosting Enumerations