2 writes to _oldCpuTimeTicks
Microsoft.Extensions.Diagnostics.ResourceMonitoring (2)
Windows\WindowsSnapshotProvider.cs (2)
74
_oldCpuTimeTicks
= timeProvider.GetUtcNow().Ticks;
176
_oldCpuTimeTicks
= now.Ticks;
1 reference to _oldCpuTimeTicks
Microsoft.Extensions.Diagnostics.ResourceMonitoring (1)
Windows\WindowsSnapshotProvider.cs (1)
168
var timeTickDelta = (now.Ticks -
_oldCpuTimeTicks
) * _cpuUnits;