1 write to SystemResources
Microsoft.Extensions.Diagnostics.ResourceMonitoring (1)
ResourceUtilization.cs (1)
67
SystemResources
= systemResources;
8 references to SystemResources
Microsoft.Extensions.Diagnostics.ResourceMonitoring.Tests (8)
CalculatorTests.cs (4)
55
Assert.Equal(1000UL, record.
SystemResources
.GuaranteedMemoryInBytes);
111
Assert.Equal(1000UL, record.
SystemResources
.GuaranteedMemoryInBytes);
162
Assert.Equal(1000UL, record.
SystemResources
.GuaranteedMemoryInBytes);
196
Assert.Equal(1000UL, record.
SystemResources
.GuaranteedMemoryInBytes);
IResourceUtilizationTrackerTests.cs (4)
20
Assert.Equal(DummyTracker.MemoryTotal, utilization.
SystemResources
.GuaranteedMemoryInBytes);
21
Assert.Equal(DummyTracker.MemoryTotal, utilization.
SystemResources
.MaximumMemoryInBytes);
22
Assert.Equal(DummyTracker.CpuUnits, utilization.
SystemResources
.GuaranteedCpuUnits);
23
Assert.Equal(DummyTracker.CpuUnits, utilization.
SystemResources
.MaximumCpuUnits);