ProcessCpuUsageReport Klasse

Definition

Stellt Daten zur CPU-Auslastung des Prozesses bereit.

public ref class ProcessCpuUsageReport sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class ProcessCpuUsageReport final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class ProcessCpuUsageReport
Public NotInheritable Class ProcessCpuUsageReport
Vererbung
Object Platform::Object IInspectable ProcessCpuUsageReport
Attribute

Windows-Anforderungen

Gerätefamilie
Windows 10 (eingeführt in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (eingeführt in v1.0)

Eigenschaften

KernelTime

Ruft die vom Prozess verbrauchte CPU-Kernelzeit ab.

UserTime

Ruft die vom Prozess verbrauchte CPU-Benutzerzeit ab.

Gilt für: