共用方式為


ResourceMonitoringOptions.CpuConsumptionRefreshInterval 屬性

定義

取得或設定用來重新整理計量所 "process.cpu.utilization" 報告值的預設間隔。

public:
 property TimeSpan CpuConsumptionRefreshInterval { TimeSpan get(); void set(TimeSpan value); };
public TimeSpan CpuConsumptionRefreshInterval { get; set; }
member this.CpuConsumptionRefreshInterval : TimeSpan with get, set
Public Property CpuConsumptionRefreshInterval As TimeSpan

屬性值

預設值為 5 秒。

備註

此屬性是Linux特定的,而且不會影響其他作業系統。 這是計量值的時間間隔,可從操作系統擷取資源使用率數據。

適用於