Partilhar via


IGCHost::GetThreadStats Method

Gets the per-thread statistics for garbage collection.

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: Windows 2000, Windows XP, Windows Server 2003 family

Header: GCHost.idl

Library: Included as a resource in MSCorEE.dll

.NET Framework Version: 2.0

See Also

Concepts

IGCHost Interface