2 writes to _previousCgroupCpuTime
Microsoft.Extensions.Diagnostics.ResourceMonitoring (2)
Linux\LinuxUtilizationProvider.cs (2)
52
_previousCgroupCpuTime
= _parser.GetCgroupCpuUsageInNanoseconds();
113
_previousCgroupCpuTime
= cgroupCpuTime;
2 references to _previousCgroupCpuTime
Microsoft.Extensions.Diagnostics.ResourceMonitoring (2)
Linux\LinuxUtilizationProvider.cs (2)
103
long deltaCgroup = cgroupCpuTime -
_previousCgroupCpuTime
;
109
Log.CpuUsageData(_logger, cgroupCpuTime, hostCpuTime,
_previousCgroupCpuTime
, _previousHostCpuTime, percentage);