3 references to GetElapsedTime
System.Threading.RateLimiting (3)
System\Threading\RateLimiting\FixedWindowRateLimiter.cs (1)
293if (RateLimiterHelper.GetElapsedTime(_lastReplenishmentTick, nowTicks) < _options.Window && !_options.AutoReplenishment)
System\Threading\RateLimiting\SlidingWindowRateLimiter.cs (1)
299if (RateLimiterHelper.GetElapsedTime(_lastReplenishmentTick, nowTicks) < ReplenishmentPeriod && !_options.AutoReplenishment)
System\Threading\RateLimiting\TokenBucketRateLimiter.cs (1)
314add = _fillRate * RateLimiterHelper.GetElapsedTime(_lastReplenishmentTick, nowTicks).Ticks;