ICLRAppDomainResourceMonitor Interface

Provides methods that inspect an application domain's memory and CPU usage.

Method

Description

ICLRAppDomainResourceMonitor::GetCurrentAllocated Method

Gets the total size, in bytes, of all memory allocations that have been made by the application domain since it was created, without subtracting memory that has been garbage-collected.

ICLRAppDomainResourceMonitor::GetCurrentSurvived Method

Gets the number of bytes that survived the last full, blocking garbage collection and that are referenced by the current application domain.

ICLRAppDomainResourceMonitor::GetCurrentCpuTime Method

Gets the total processor time that has been used by all threads while executing in the current application domain, since the application domain was created.

Platforms: See .NET Framework System Requirements.

Header: MetaHost.h

Library: Included as a resource in MSCorEE.dll

.NET Framework Versions: 4

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft