4 references to Hundred
Microsoft.Extensions.Diagnostics.ResourceMonitoring (4)
Windows\WindowsSnapshotProvider.cs (4)
138
_memoryPercentage = Math.Min(
Hundred
, currentMemoryUsage / _totalMemory *
Hundred
); // Don't change calculation order, otherwise we loose some precision
170
_cpuPercentage = Math.Min(
Hundred
, usageTickDelta / (double)timeTickDelta *
Hundred
); // Don't change calculation order, otherwise we loose some precision