Bagikan melalui


Analytics.AverageProcessLoad Property

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Gets a factor that reports the total load on the CPU that this process is using, determined across all cores averaged together.

Namespace:  System.Windows
Assembly:  System.Windows (in System.Windows.dll)

Syntax

'Declaration
Public ReadOnly Property AverageProcessLoad As Single
public float AverageProcessLoad { get; }

Property Value

Type: System.Single
A value between 0 and 1 that reports CPU load associated with this process, with the factor determined by examining all cores of a multi-core system averaged together. 0 maps to 0% load while 1 maps to 100% load.

Remarks

Typical usage for this property is to also establish a Timer loop and to report or store AverageProcessLoad values at intervals.

Version Information

Silverlight

Supported in: 5, 4, 3

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.