ProcessCpuUsageReport
ProcessCpuUsageReport
ProcessCpuUsageReport
ProcessCpuUsageReport
Class
Definition
Provides data about the CPU usage of the process.
public : sealed class ProcessCpuUsageReport : IProcessCpuUsageReportpublic sealed class ProcessCpuUsageReport : IProcessCpuUsageReportPublic NotInheritable Class ProcessCpuUsageReport Implements IProcessCpuUsageReport// You can use this class in JavaScript.
- Attributes
Windows 10 requirements
| Device family |
Windows 10 (introduced v10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
Properties
KernelTime KernelTime KernelTime KernelTime
Gets the amount of CPU kernel time consumed by the process.
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 process.
UserTime UserTime UserTime UserTime
Gets the amount of CPU user time consumed by the process.
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 process.