COR_GC_STAT_TYPES 枚举
指定要记录的垃圾回收统计信息。
语法
typedef enum {
COR_GC_COUNTS = 0x00000001
COR_GC_MEMORYUSAGE = 0x00000002
} COR_GC_STAT_TYPES;
备注
此枚举指定 COR_GC_STATS 结构中的哪些统计信息将由 ICLRGCManager::GetStats 方法设置。
成员
成员 | 说明 |
---|---|
COR_GC_COUNTS |
记录每代执行的垃圾回收次数。 |
COR_GC_MEMORYUSAGE |
记录内存使用情况和垃圾回收大小统计信息。 |
要求
平台:请参阅系统要求。
标头:GCHost.idl、GCHost.h
.NET Framework 版本:自 1.0 起可用
请参阅
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
.NET feedback
The .NET documentation is open source. Provide feedback here.
反馈
提交和查看相关反馈