ICLRAppDomainResourceMonitor Interface

.NET Framework (current version)
 

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

MethodDescription
GetCurrentAllocated MethodGets 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.
GetCurrentSurvived MethodGets the number of bytes that survived the last full, blocking garbage collection and that are referenced by the current application domain.
GetCurrentCpuTime MethodGets the total processor time that has been used by all threads while executing in the current application domain, since the application domain was created.

The ICLRAppDomainResourceMonitor interface provides functionality that is similar to the following managed properties:

Platforms: See System Requirements.

Header: MetaHost.h

Library: Included as a resource in MSCorEE.dll

.NET Framework Versions: Available since 4

<appDomainResourceMonitoring> Element
Application Domain Resource Monitoring
Hosting Interfaces
Hosting

Show: