ResourceMonitoringOptions.CpuConsumptionRefreshInterval Właściwość
Definicja
Ważne
Niektóre informacje odnoszą się do produktu w wersji wstępnej, który może zostać znacząco zmodyfikowany przed wydaniem. Firma Microsoft nie udziela żadnych gwarancji, jawnych lub domniemanych, w odniesieniu do informacji podanych w tym miejscu.
Uwaga
This API is obsolete and will be removed in a future version. Consider using Resource Monitoring observable instruments.
Pobiera lub ustawia domyślny interwał używany do odświeżania wartości zgłaszanych przez "process.cpu.utilization" metryki.
public:
property TimeSpan CpuConsumptionRefreshInterval { TimeSpan get(); void set(TimeSpan value); };
[System.Obsolete("This API is obsolete and will be removed in a future version. Consider using Resource Monitoring observable instruments.", DiagnosticId="EXTOBS0001", UrlFormat="https://aka.ms/dotnet-extensions-warnings/{0}")]
public TimeSpan CpuConsumptionRefreshInterval { get; set; }
public TimeSpan CpuConsumptionRefreshInterval { get; set; }
[<System.Obsolete("This API is obsolete and will be removed in a future version. Consider using Resource Monitoring observable instruments.", DiagnosticId="EXTOBS0001", UrlFormat="https://aka.ms/dotnet-extensions-warnings/{0}")>]
member this.CpuConsumptionRefreshInterval : TimeSpan with get, set
member this.CpuConsumptionRefreshInterval : TimeSpan with get, set
Public Property CpuConsumptionRefreshInterval As TimeSpan
Wartość właściwości
Wartość domyślna to 5 sekund.
- Atrybuty
Uwagi
Ta właściwość jest specyficzna dla systemu Linux i nie ma wpływu na inne systemy operacyjne. Jest to przedział czasu dla wartości metryki pobierania danych użycia zasobów z systemu operacyjnego.