Loading Performance Counters
The Performance console .NET CLR Loading category includes counters that provide information about assemblies, classes, and application domains that are loaded. The following table describes these performance counters.
Performance counter | Description |
---|---|
% Time Loading |
Reserved for future use. |
Assembly Search Length |
Reserved for future use. |
Bytes in Loader Heap |
Displays the current size, in bytes, of the memory committed by the class loader across all application domains. Committed memory is the physical space reserved in the disk paging file. |
Current appdomains |
Displays the current number of application domains loaded in this application. |
Current Assemblies |
Displays the current number of assemblies loaded across all application domains in the currently running application. If the assembly is loaded as domain-neutral from multiple application domains, this counter is incremented only once. |
Current Classes Loaded |
Displays the current number of classes loaded in all assemblies. |
Rate of appdomains |
Displays the number of application domains loaded per second. This counter is not an average over time; it displays the difference between the values observed in the last two samples divided by the duration of the sample interval. |
Rate of appdomains unloaded |
Displays the number of application domains unloaded per second. This counter is not an average over time; it displays the difference between the values observed in the last two samples divided by the duration of the sample interval. |
Rate of Assemblies |
Displays the number of assemblies loaded per second across all application domains. If the assembly is loaded as domain-neutral from multiple application domains, this counter is incremented only once. This counter is not an average over time; it displays the difference between the values observed in the last two samples divided by the duration of the sample interval. |
Rate of Classes Loaded |
Displays the number of classes loaded per second in all assemblies. This counter is not an average over time; it displays the difference between the values observed in the last two samples divided by the duration of the sample interval. |
Rate of Load Failures |
Displays the number of classes that failed to load per second. This counter is not an average over time; it displays the difference between the values observed in the last two samples divided by the duration of the sample interval. Load failures can occur for many reasons, such as inadequate security or invalid format. For details, see the profiling services Help. |
Total # of Load Failures |
Displays the peak number of classes that have failed to load since the application started. Load failures can occur for many reasons, such as inadequate security or invalid format. For details, see the profiling services Help. |
Total Appdomains |
Displays the peak number of application domains loaded since the application started. |
Total appdomains unloaded |
Displays the total number of application domains unloaded since the application started. If an application domain is loaded and unloaded multiple times, this counter increments each time the application domain is unloaded. |
Total Assemblies |
Displays the total number of assemblies loaded since the application started. If the assembly is loaded as domain-neutral from multiple application domains, this counter is incremented only once. |
Total Classes Loaded |
Displays the cumulative number of classes loaded in all assemblies since the application started. |
See Also
Reference
Other Resources
Performance Counters in the .NET Framework
Assemblies in the Common Language Runtime
Application Domains