Ambil perhatian
Akses ke halaman ini memerlukan kebenaran. Anda boleh cuba log masuk atau menukar direktori.
Akses ke halaman ini memerlukan kebenaran. Anda boleh cuba menukar direktori.
Contains per-thread statistics pertaining to garbage collection.
Syntax
typedef struct _COR_GC_THREAD_STATS {
ULONGLONG PerThreadAllocation;
ULONG Flags;
} COR_GC_THREAD_STATS;
Members
| 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. |
Remarks
ICLRTask::GetMemStats takes an output parameter of type COR_GC_THREAD_STATS.
Requirements
Platforms: See System Requirements.
Header: GCHost.idl
Library: Included as a resource in MSCorEE.dll
.NET Framework Versions: Available since 1.0
See also
Bekerjasama dengan kami di GitHub
Sumber untuk kandungan ini boleh didapati di GitHub, di mana anda juga boleh membuat dan menyemak isu dan permintaan tarik. Untuk maklumat lanjut, lihat panduan penyumbang kami.