1 write to MaximumMemoryInBytes
Microsoft.Extensions.Diagnostics.ResourceMonitoring (1)
SystemResources.cs (1)
60
MaximumMemoryInBytes
= Throw.IfLessThan(maximumMemoryInBytes, 1UL);
5 references to MaximumMemoryInBytes
Microsoft.Extensions.Diagnostics.ResourceMonitoring.Tests (5)
IResourceUtilizationSnapshotProviderTests.cs (1)
18
Assert.Equal(DummyProvider.MemoryTotalInBytes, provider.Resources.
MaximumMemoryInBytes
);
IResourceUtilizationTrackerTests.cs (1)
21
Assert.Equal(DummyTracker.MemoryTotal, utilization.SystemResources.
MaximumMemoryInBytes
);
Linux\AcceptanceTest.cs (2)
138
Assert.Equal(100_000UL, provider.Resources.
MaximumMemoryInBytes
);
186
Assert.Equal(100_000UL, provider.Resources.
MaximumMemoryInBytes
);
SystemResourcesTests.cs (1)
22
Assert.Equal(MemoryTotalInBytes, systemResources.
MaximumMemoryInBytes
);