SystemCpuUsageReport
SystemCpuUsageReport
SystemCpuUsageReport
SystemCpuUsageReport
Class
Definition
Provides data about the CPU usage of the system.
public : sealed class SystemCpuUsageReport : ISystemCpuUsageReportpublic sealed class SystemCpuUsageReport : ISystemCpuUsageReportPublic NotInheritable Class SystemCpuUsageReport Implements ISystemCpuUsageReport// You can use this class in JavaScript.
- Attributes
Windows 10 requirements
| Device family |
Windows 10 Creators Update (introduced v10.0.15063.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v4)
|
Properties
IdleTime IdleTime IdleTime IdleTime
Gets the amount of time the CPU was idle.
public : TimeSpan IdleTime { get; }public TimeSpan IdleTime { get; }Public ReadOnly Property IdleTime As TimeSpan// You can use this property in JavaScript.
- Value
- TimeSpan TimeSpan TimeSpan TimeSpan
The amount of time the CPU was idle.
KernelTime KernelTime KernelTime KernelTime
Gets the amount of CPU kernel time consumed by the system.
public : TimeSpan KernelTime { get; }public TimeSpan KernelTime { get; }Public ReadOnly Property KernelTime As TimeSpan// You can use this property in JavaScript.
- Value
- TimeSpan TimeSpan TimeSpan TimeSpan
The amount of CPU kernel time consumed by the system.
UserTime UserTime UserTime UserTime
Gets the amount of CPU user time consumed by the system.
public : TimeSpan UserTime { get; }public TimeSpan UserTime { get; }Public ReadOnly Property UserTime As TimeSpan// You can use this property in JavaScript.
- Value
- TimeSpan TimeSpan TimeSpan TimeSpan
The amount of CPU user time consumed by the system.