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

Header: GCHost.idl

Library: Included as a resource in MSCorEE.dll

.NET Framework Versions: 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0

See Also

Reference

IGCHost Interface