from Timmy Kokke
I’d like to provide you with a SilverBulletTM, a small snippet of Silverlight, a class or namespace hidden in the silverlight .NET framework, to help you out in times of need. It’s not to learn, but something to keep in your pocket. Just remember it’s there and you’re safe.
When developing applications, especially graphic intensive web applications you want to monitor the performance when running. The System.Windows.Analytics class can help you with that.
The class has no methods of any significance and only three read-only properties:
- AverageProcessLoad – shows the average of all cores on how much of the CPU the process is using
- AverageProcessorLoad – shows the amount of CPU processing that’s being used
- GpuCollection – holds a collection of GpuInformation objects. The GpuInformation class contains information about the GPU. Every element in the collection has three properties: DeviceId, DriverVersion and VendorId.