2 writes to KernelTimeSinceStart
Microsoft.Extensions.Diagnostics.ResourceMonitoring (2)
Snapshot.cs (2)
56
KernelTimeSinceStart
= kernelTimeSinceStart;
80
KernelTimeSinceStart
= kernelTimeSinceStart;
10 references to KernelTimeSinceStart
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 (7)
CalculatorTests.cs (2)
97
kernelTimeSinceStart: _firstSnapshot.
KernelTimeSinceStart
,
129
kernelTimeSinceStart: TimeSpan.FromTicks(firstSnapshot.
KernelTimeSinceStart
.Ticks - 1),
IResourceUtilizationSnapshotProviderTests.cs (1)
25
Assert.Equal(DummyProvider.KernelTimeSinceStart, snapshot.
KernelTimeSinceStart
);
ResourceUtilizationTests.cs (1)
27
Assert.Equal(default, snap.
KernelTimeSinceStart
);
Windows\WindowsContainerSnapshotProviderTests.cs (3)
126
Assert.Equal(_accountingInfo.TotalKernelTime, data.
KernelTimeSinceStart
.Ticks);
151
Assert.Equal(_accountingInfo.TotalKernelTime, data.
KernelTimeSinceStart
.Ticks);
183
Assert.Equal(_accountingInfo.TotalKernelTime, data.
KernelTimeSinceStart
.Ticks);