2 writes to _previousHostCpuTime
Microsoft.Extensions.Diagnostics.ResourceMonitoring (2)
Linux\LinuxUtilizationProvider.cs (2)
51
_previousHostCpuTime
= _parser.GetHostCpuUsageInNanoseconds();
114
_previousHostCpuTime
= hostCpuTime;
2 references to _previousHostCpuTime
Microsoft.Extensions.Diagnostics.ResourceMonitoring (2)
Linux\LinuxUtilizationProvider.cs (2)
102
long deltaHost = hostCpuTime -
_previousHostCpuTime
;
109
Log.CpuUsageData(_logger, cgroupCpuTime, hostCpuTime, _previousCgroupCpuTime,
_previousHostCpuTime
, percentage);