2 writes to UserTimeSinceStart
Microsoft.Extensions.Diagnostics.ResourceMonitoring (2)
Snapshot.cs (2)
57
UserTimeSinceStart
= userTimeSinceStart;
81
UserTimeSinceStart
= userTimeSinceStart;
9 references to UserTimeSinceStart
Microsoft.Extensions.Diagnostics.ResourceMonitoring (3)
Calculator.cs (2)
37
long oldUsageTicks = first.KernelTimeSinceStart.Ticks + first.
UserTimeSinceStart
.Ticks;
38
long newUsageTicks = second.KernelTimeSinceStart.Ticks + second.
UserTimeSinceStart
.Ticks;
ResourceMonitorService.cs (1)
136
Log.SnapshotReceived(_logger, snapshot.TotalTimeSinceStart, snapshot.KernelTimeSinceStart, snapshot.
UserTimeSinceStart
, snapshot.MemoryUsageInBytes);
Microsoft.Extensions.Diagnostics.ResourceMonitoring.Tests (6)
CalculatorTests.cs (2)
98
userTimeSinceStart: _firstSnapshot.
UserTimeSinceStart
);
130
userTimeSinceStart: TimeSpan.FromTicks(firstSnapshot.
UserTimeSinceStart
.Ticks - 1));
IResourceUtilizationSnapshotProviderTests.cs (1)
28
Assert.Equal(DummyProvider.UserTimeSinceStart, snapshot.
UserTimeSinceStart
);
Windows\WindowsContainerSnapshotProviderTests.cs (3)
127
Assert.Equal(_accountingInfo.TotalUserTime, data.
UserTimeSinceStart
.Ticks);
152
Assert.Equal(_accountingInfo.TotalUserTime, data.
UserTimeSinceStart
.Ticks);
184
Assert.Equal(_accountingInfo.TotalUserTime, data.
UserTimeSinceStart
.Ticks);