1 instantiation of DummyTracker
Microsoft.Extensions.Diagnostics.ResourceMonitoring.Tests (1)
IResourceUtilizationTrackerTests.cs (1)
15
var tracker = new
DummyTracker
();
8 references to DummyTracker
Microsoft.Extensions.Diagnostics.ResourceMonitoring.Tests (8)
IResourceUtilizationTrackerTests.cs (8)
15
var
tracker = new DummyTracker();
17
Assert.Equal(
DummyTracker
.CpuPercentage, utilization.CpuUsedPercentage);
18
Assert.Equal(
DummyTracker
.MemoryPercentage, utilization.MemoryUsedPercentage);
19
Assert.Equal(
DummyTracker
.MemoryUsed, utilization.MemoryUsedInBytes);
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);