2 references to One
Microsoft.Extensions.Diagnostics.ResourceMonitoring (2)
Linux\LinuxUtilizationProvider.cs (2)
107
double percentage = Math.Min(
One
, (double)deltaCgroup / deltaHost);
140
double memoryPercentage = Math.Min(
One
, (double)memoryUsed / _memoryLimit);