Provides convenience functions to predict an estimated time remaining based on a remaining item count.
More...
|
static TimeSpan | EstimatedTimeRemaining (this ISlidingWindow< int > window, int remainingItems) |
| Estimate the time remaining based on the rate in the window being operated on and the number of items left to process.
|
static TimeSpan | EstimatedTimeRemaining (this ISlidingWindow< long > window, long remainingItems) |
| Estimate the time remaining based on the rate in the window being operated on and the number of items left to process.
|
static TimeSpan | EstimatedTimeRemaining (this ISlidingWindow< decimal > window, decimal remainingItems) |
| Estimate the time remaining based on the rate in the window being operated on and the number of items left to process.
|
static TimeSpan | EstimatedTimeRemaining (this ISlidingWindow< double > window, double remainingItems) |
| Estimate the time remaining based on the rate in the window being operated on and the number of items left to process.
|
Provides convenience functions to predict an estimated time remaining based on a remaining item count.
◆ EstimatedTimeRemaining() [1/4]
TimeSpan PeanutButter.Utils.SlidingWindowEstimatedTimeRemainingExtensions.EstimatedTimeRemaining |
( |
this ISlidingWindow< decimal > | window, |
|
|
decimal | remainingItems ) |
|
static |
Estimate the time remaining based on the rate in the window being operated on and the number of items left to process.
- Parameters
-
- Returns
◆ EstimatedTimeRemaining() [2/4]
TimeSpan PeanutButter.Utils.SlidingWindowEstimatedTimeRemainingExtensions.EstimatedTimeRemaining |
( |
this ISlidingWindow< double > | window, |
|
|
double | remainingItems ) |
|
static |
Estimate the time remaining based on the rate in the window being operated on and the number of items left to process.
- Parameters
-
- Returns
◆ EstimatedTimeRemaining() [3/4]
TimeSpan PeanutButter.Utils.SlidingWindowEstimatedTimeRemainingExtensions.EstimatedTimeRemaining |
( |
this ISlidingWindow< int > | window, |
|
|
int | remainingItems ) |
|
static |
Estimate the time remaining based on the rate in the window being operated on and the number of items left to process.
- Parameters
-
- Returns
◆ EstimatedTimeRemaining() [4/4]
TimeSpan PeanutButter.Utils.SlidingWindowEstimatedTimeRemainingExtensions.EstimatedTimeRemaining |
( |
this ISlidingWindow< long > | window, |
|
|
long | remainingItems ) |
|
static |
Estimate the time remaining based on the rate in the window being operated on and the number of items left to process.
- Parameters
-
- Returns
The documentation for this class was generated from the following file:
- source/Utils/PeanutButter.Utils/SlidingWindowEstimatedTimeRemainingExtensions.cs