ICLRAppDomainResourceMonitor Interface
Provides methods that inspect an application domain's memory and CPU usage.
Methods
Method | Description |
---|---|
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. |
GetCurrentSurvived Method | Gets the number of bytes that survived the last full, blocking garbage collection and that are referenced by the current application domain. |
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. |
Remarks
The ICLRAppDomainResourceMonitor
interface provides functionality that is similar to the following managed properties:
Requirements
Platforms: See System Requirements.
Header: MetaHost.h
Library: Included as a resource in MSCorEE.dll
.NET Framework Versions: Available since 4
See also
Tehke meiega GitHubis koostööd
Selle sisu allika leiate GitHubist, kus saate ka probleeme luua ja läbi vaadata ning päringuid teha. Lisateavet leiate meie kaasautorite juhendist.
Tagasiside
https://aka.ms/ContentUserFeedback.
Varsti tulekul: 2024. aasta jooksul tühistame GitHubi probleemide funktsiooni sisutagasiside mehhanismina ja asendame selle uue tagasisidesüsteemiga. Lisateabe saamiseks vtEsita ja vaata tagasisidet