Simple estimator: starts the clock as soon as it is created, and estimates remaining time by percentage of completion and elapsed time.
More...
Simple estimator: starts the clock as soon as it is created, and estimates remaining time by percentage of completion and elapsed time.
◆ iAPercentBasedEstimator()
| iAPercentBasedEstimator::iAPercentBasedEstimator |
( |
| ) |
|
|
inline |
◆ elapsed()
| double iAPercentBasedEstimator::elapsed |
( |
| ) |
const |
|
inlineoverridevirtual |
Get the time that has elapsed since start of the operation.
- Returns
- elapsed time in seconds
Implements iADurationEstimator.
◆ estimatedTimeRemaining()
| double iAPercentBasedEstimator::estimatedTimeRemaining |
( |
double | percent | ) |
const |
|
inlineoverridevirtual |
Get the estimated, still required time to finish the operation.
- Returns
- the estimated remaining time in seconds -1 if remaining time still unknown
Implements iADurationEstimator.
The documentation for this class was generated from the following file: