4 writes to _lastTimestamp
Microsoft.AspNetCore.Server.Kestrel.Core (4)
Internal\Infrastructure\TimeoutControl.cs (4)
48
Interlocked.Exchange(ref
_lastTimestamp
, _timeProvider.GetTimestamp());
57
Interlocked.Exchange(ref
_lastTimestamp
, timestamp);
192
Interlocked.Exchange(ref _timeoutTimestamp, Interlocked.Read(ref
_lastTimestamp
) + timeoutTicks + _heartbeatIntervalTicks);
289
var 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);
150
var extraTimeForTick = timestamp -
_lastTimestamp
- _heartbeatIntervalTicks;