1 write to _memoryPercentage
Microsoft.Extensions.Diagnostics.ResourceMonitoring (1)
Windows\WindowsSnapshotProvider.cs (1)
139_memoryPercentage = Math.Min(Hundred, currentMemoryUsage / _totalMemory * Hundred); // Don't change calculation order, otherwise we loose some precision
3 references to _memoryPercentage
Microsoft.Extensions.Diagnostics.ResourceMonitoring (3)
Windows\WindowsSnapshotProvider.cs (3)
130return _memoryPercentage; 143Log.MemoryUsageData(_logger, (ulong)currentMemoryUsage, _totalMemory, _memoryPercentage); 145return _memoryPercentage;