Environment.CpuUsage Eigenschaft
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Rufen Sie die CPU-Auslastung ab, einschließlich der Prozesszeit für die Ausführung des Anwendungscodes, der Prozesszeit für die Ausführung des Betriebssystemcodes und der Gesamtzeit für die Ausführung des Anwendungs- und Betriebssystemcodes.Get the CPU usage, including the process time spent running the application code, the process time spent running the operating system code.
public:
static property Environment::ProcessCpuUsage CpuUsage { Environment::ProcessCpuUsage get(); };
[System.Runtime.Versioning.SupportedOSPlatform("maccatalyst")]
[System.Runtime.Versioning.UnsupportedOSPlatform("browser")]
[System.Runtime.Versioning.UnsupportedOSPlatform("ios")]
[System.Runtime.Versioning.UnsupportedOSPlatform("tvos")]
public static Environment.ProcessCpuUsage CpuUsage { get; }
[<System.Runtime.Versioning.SupportedOSPlatform("maccatalyst")>]
[<System.Runtime.Versioning.UnsupportedOSPlatform("browser")>]
[<System.Runtime.Versioning.UnsupportedOSPlatform("ios")>]
[<System.Runtime.Versioning.UnsupportedOSPlatform("tvos")>]
static member CpuUsage : Environment.ProcessCpuUsage
Public Shared ReadOnly Property CpuUsage As Environment.ProcessCpuUsage
Eigenschaftswert
- Attribute