2 writes to _previousCgroupCpuTime
Microsoft.Extensions.Diagnostics.ResourceMonitoring (2)
Linux\LinuxUtilizationProvider.cs (2)
53
_previousCgroupCpuTime
= _parser.GetCgroupCpuUsageInNanoseconds();
114
_previousCgroupCpuTime
= cgroupCpuTime;
2 references to _previousCgroupCpuTime
Microsoft.Extensions.Diagnostics.ResourceMonitoring (2)
Linux\LinuxUtilizationProvider.cs (2)
104
long deltaCgroup = cgroupCpuTime -
_previousCgroupCpuTime
;
110
Log.CpuUsageData(_logger, cgroupCpuTime, hostCpuTime,
_previousCgroupCpuTime
, _previousHostCpuTime, percentage);