1 write to MaximumCpuUnits
Microsoft.Extensions.Diagnostics.ResourceMonitoring (1)
SystemResources.cs (1)
58MaximumCpuUnits = Throw.IfLessThanOrEqual(maximumCpuUnits, 0.0);
5 references to MaximumCpuUnits
Microsoft.Extensions.Diagnostics.ResourceMonitoring.Tests (5)
IResourceUtilizationSnapshotProviderTests.cs (1)
16Assert.Equal(DummyProvider.CpuUnits, provider.Resources.MaximumCpuUnits);
IResourceUtilizationTrackerTests.cs (1)
23Assert.Equal(DummyTracker.CpuUnits, utilization.SystemResources.MaximumCpuUnits);
Linux\AcceptanceTest.cs (2)
133Assert.Equal(2.0d, provider.Resources.MaximumCpuUnits); // read from cpuset.cpus 181Assert.Equal(0.2d, Math.Round(provider.Resources.MaximumCpuUnits, 1)); // read from cpuset.cpus
SystemResourcesTests.cs (1)
20Assert.Equal(CpuUnits, systemResources.MaximumCpuUnits);