Export (0) Print
Expand All

COR_GC_THREAD_STATS Structure

Contains per-thread statistics pertaining to garbage collection.


typedef struct _COR_GC_THREAD_STATS {
    ULONGLONG  PerThreadAllocation; 
    ULONG      Flags; 
} COR_GC_THREAD_STATS;

Member Description

PerThreadAllocation

The number of bytes of memory allocated on the thread that is associated with the current COR_GC_THREAD_STATS instance. This number is cleared to zero each time a generation-zero garbage collection occurs.

Flags

The number of bytes promoted to a higher generation at the most recent garbage collection.

ICLRTask::GetMemStats Method takes an output parameter of type COR_GC_THREAD_STATS.

Platforms: Windows 2000, Windows XP, Windows Server 2003 family

Header: GCHost.idl

Library: Included as a resource in MSCorEE.dll

.NET Framework Version: 2.0, 1.1, 1.0

Community Additions

ADD
Show:
© 2015 Microsoft