1 write to _cpuUnits
Microsoft.Extensions.Diagnostics.ResourceMonitoring (1)
Windows\WindowsSnapshotProvider.cs (1)
59
_cpuUnits
= getCpuUnitsFunc();
6 references to _cpuUnits
Microsoft.Extensions.Diagnostics.ResourceMonitoring (6)
Windows\WindowsSnapshotProvider.cs (6)
65
Resources = new SystemResources(
_cpuUnits
,
_cpuUnits
, totalMemory, totalMemory);
66
Log.SystemResourcesInfo(_logger,
_cpuUnits
,
_cpuUnits
, totalMemory, totalMemory);
168
var timeTickDelta = (now.Ticks - _oldCpuTimeTicks) *
_cpuUnits
;
173
Log.CpuUsageData(_logger, currentCpuTicks, _oldCpuUsageTicks, timeTickDelta,
_cpuUnits
, _cpuPercentage);