4 writes to _lastTimestamp
Microsoft.AspNetCore.Server.Kestrel.Core (4)
Internal\Infrastructure\TimeoutControl.cs (4)
48Interlocked.Exchange(ref _lastTimestamp, _timeProvider.GetTimestamp()); 57Interlocked.Exchange(ref _lastTimestamp, timestamp); 192Interlocked.Exchange(ref _timeoutTimestamp, Interlocked.Read(ref _lastTimestamp) + timeoutTicks + _heartbeatIntervalTicks); 289var currentTimeUpperBound = Interlocked.Read(ref _lastTimestamp) + _heartbeatIntervalTicks;
2 references to _lastTimestamp
Microsoft.AspNetCore.Server.Kestrel.Core (2)
Internal\Infrastructure\TimeoutControl.cs (2)
114_readTimingElapsedTicks += Math.Min(timestamp - _lastTimestamp, _heartbeatIntervalTicks); 150var extraTimeForTick = timestamp - _lastTimestamp - _heartbeatIntervalTicks;