/** * Estimate the {@link LoadProfile} for all {@link AtomicExecution}s in this instance. * * @return the {@link LoadProfile} */ public LoadProfile estimateLoad() { return this.estimateLoad(this.estimationContext); }
/** * Estimate the {@link TimeEstimate} for all {@link AtomicExecution}s in this instance in the light of the * given {@link EstimationContext}. * * @param estimationContext that provides estimation parameters * @return the {@link TimeEstimate} */ public TimeEstimate estimateExecutionTime(EstimationContext estimationContext) { if (this.loadProfileToTimeConverterCache == null) { this.loadProfileToTimeConverterCache = this.configuration .getLoadProfileToTimeConverterProvider() .provideFor(this.platform); } return this.loadProfileToTimeConverterCache.convert(this.estimateLoad(estimationContext)); }