Environment.CpuUsage Egenskap

Definition

Hämta CPU-användningen, inklusive den processtid som ägnas åt att köra programkoden, processtiden som ägnas åt att köra operativsystemkoden och den totala tid som ägnas åt att köra både program- och operativsystemkoden.

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

Egenskapsvärde

Attribut

Gäller för