IGCHost::GetThreadStats Method

Gets the per-thread statistics for garbage collection.

Syntax

HRESULT GetThreadStats (  
    [in] DWORD *pFiberCookie,  
    [in, out] COR_GC_THREAD_STATS *pStats  
);  

Parameters

pFiberCookie
[in] A pointer to a fiber cookie that specifies the thread for which to retrieve the statistics.

pStats
[in, out] A pointer to a COR_GC_THREAD_STATS structure that contains the garbage collection statistics for the specified thread.

Requirements

Platforms: See System Requirements.

Header: GCHost.idl, GCHost.h

Library: Included as a resource in MSCorEE.dll

.NET Framework Versions: Available since 2.0

See also