2 writes to MemoryUsageInBytes
Microsoft.Extensions.Diagnostics.ResourceMonitoring (2)
Snapshot.cs (2)
58
MemoryUsageInBytes
= memoryUsageInBytes;
82
MemoryUsageInBytes
= memoryUsageInBytes;
9 references to MemoryUsageInBytes
Microsoft.Extensions.Diagnostics.ResourceMonitoring (2)
Calculator.cs (1)
43
return new ResourceUtilization(cpuUtilization, second.
MemoryUsageInBytes
, systemResources, second);
ResourceMonitorService.cs (1)
136
Log.SnapshotReceived(_logger, snapshot.TotalTimeSinceStart, snapshot.KernelTimeSinceStart, snapshot.UserTimeSinceStart, snapshot.
MemoryUsageInBytes
);
Microsoft.Extensions.Diagnostics.ResourceMonitoring.Tests (7)
IResourceUtilizationSnapshotProviderTests.cs (1)
26
Assert.Equal(DummyProvider.MemoryUsageInBytes, snapshot.
MemoryUsageInBytes
);
Windows\WindowsContainerSnapshotProviderTests.cs (6)
130
Assert.Equal(_appMemoryUsage, data.
MemoryUsageInBytes
);
131
Assert.True(data.
MemoryUsageInBytes
> 0);
157
Assert.Equal(_appMemoryUsage, data.
MemoryUsageInBytes
);
158
Assert.True(data.
MemoryUsageInBytes
> 0);
189
Assert.Equal(_appMemoryUsage, data.
MemoryUsageInBytes
);
190
Assert.True(data.
MemoryUsageInBytes
> 0);