Base:
28 references to TimestampFrequency
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (19)
TimeoutControlTests.cs (19)
73now += _timeProvider.TimestampFrequency; 81now += _timeProvider.TimestampFrequency; 83now += _timeProvider.TimestampFrequency; 105now += _timeProvider.TimestampFrequency; 107now += _timeProvider.TimestampFrequency; 112now += _timeProvider.TimestampFrequency; 120now += _timeProvider.TimestampFrequency; 128now += _timeProvider.TimestampFrequency; 136now += _timeProvider.TimestampFrequency; 144now += _timeProvider.TimestampFrequency; 299now += _timeProvider.TimestampFrequency; 302now += _timeProvider.TimestampFrequency; 310now += _timeProvider.TimestampFrequency; 324now += _timeProvider.TimestampFrequency; 344now += _timeProvider.TimestampFrequency; 347now += _timeProvider.TimestampFrequency; 352now += _timeProvider.TimestampFrequency * 2; 360now += _timeProvider.TimestampFrequency; 363now += _timeProvider.TimestampFrequency;
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.Tests (2)
QuicConnectionContextTests.cs (2)
528Assert.Equal(timeProvider.GetTimestamp() + QuicConnectionContext.StreamPoolExpirySeconds * timeProvider.TimestampFrequency, pooledStream.PoolExpirationTimestamp); 540Assert.Equal(timeProvider.GetTimestamp() + QuicConnectionContext.StreamPoolExpirySeconds * timeProvider.TimestampFrequency, pooledStream.PoolExpirationTimestamp);
Microsoft.Extensions.TimeProvider.Testing (1)
FakeTimeProvider.cs (1)
176Debug.Assert(TimestampFrequency == TimeSpan.TicksPerSecond, "Assuming frequency equals ticks per second");
Microsoft.Extensions.TimeProvider.Testing.Tests (6)
FakeTimeProviderTests.cs (6)
22var frequency = timeProvider.TimestampFrequency; 36var frequency2 = timeProvider.TimestampFrequency; 51var frequency = timeProvider.TimestampFrequency; 67var frequency2 = timeProvider.TimestampFrequency; 123Assert.Equal(1.234D, (double)perfDelta / timeProvider.TimestampFrequency, 3); 147Assert.Equal(1.234D, (double)perfDelta / timeProvider.TimestampFrequency, 3);