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)
65Resources = new SystemResources(_cpuUnits, _cpuUnits, totalMemory, totalMemory); 66Log.SystemResourcesInfo(_logger, _cpuUnits, _cpuUnits, totalMemory, totalMemory); 168var timeTickDelta = (now.Ticks - _oldCpuTimeTicks) * _cpuUnits; 173Log.CpuUsageData(_logger, currentCpuTicks, _oldCpuUsageTicks, timeTickDelta, _cpuUnits, _cpuPercentage);