Method | Description | |
---|---|---|
ETACalculator ( int minimumData, double maximumDuration ) : System |
|
|
Reset ( ) : void | ||
Update ( float progress ) : void |
Adds the current progress to the calculation of ETA.
|
Method | Description | |
---|---|---|
ClearExpired ( ) : void |
public ETACalculator ( int minimumData, double maximumDuration ) : System | ||
minimumData | int | /// The minimum number of data points required before ETA can be calculated. /// |
maximumDuration | double | /// Determines how many seconds of data will be used to calculate the ETA. /// |
return | System |
public Update ( float progress ) : void | ||
progress | float | The current level of completion. /// Must be between 0.0 and 1.0 (inclusively). |
return | void |