2 writes to _oldCpuUsageTicks
Microsoft.Extensions.Diagnostics.ResourceMonitoring (2)
Windows\WindowsContainerSnapshotProvider.cs (2)
97
_oldCpuUsageTicks
= basicAccountingInfo.TotalKernelTime + basicAccountingInfo.TotalUserTime;
237
_oldCpuUsageTicks
= currentCpuTicks;
2 references to _oldCpuUsageTicks
Microsoft.Extensions.Diagnostics.ResourceMonitoring (2)
Windows\WindowsContainerSnapshotProvider.cs (2)
228
var usageTickDelta = currentCpuTicks -
_oldCpuUsageTicks
;
235
_logger, basicAccountingInfo.TotalKernelTime, basicAccountingInfo.TotalUserTime,
_oldCpuUsageTicks
, timeTickDelta, _cpuLimit, _cpuPercentage);