2 writes to _oldCpuUsageTicks
Microsoft.Extensions.Diagnostics.ResourceMonitoring (2)
Windows\WindowsSnapshotProvider.cs (2)
73
_oldCpuUsageTicks
= getCpuTicksFunc();
174
_oldCpuUsageTicks
= currentCpuTicks;
2 references to _oldCpuUsageTicks
Microsoft.Extensions.Diagnostics.ResourceMonitoring (2)
Windows\WindowsSnapshotProvider.cs (2)
166
var usageTickDelta = currentCpuTicks -
_oldCpuUsageTicks
;
172
Log.CpuUsageData(_logger, currentCpuTicks,
_oldCpuUsageTicks
, timeTickDelta, _cpuUnits, _cpuPercentage);