Class MicrocsecondsLearningLoadModel

Inheritance Relationships

Base Type

Derived Type

Class Documentation

class MicrocsecondsLearningLoadModel : public combigrid::LearningLoadModel

The SpecificUOTLearningModel (UOT = unit of time) extends the interface of a LearningLoadModel. A SpecificUOTLearningLoadModel needs to be able to calculate the expected load in the specific time unit of microseconds.

Subclassed by combigrid::AverageOfLastNLoadModel

Public Functions

virtual std::chrono::microseconds evalSpecificUOT(const LevelVector &lvlVec) = 0

Calculates the expected load of a given task in microseconds.

Parameters:

lvlVec – The level vector corresponding to the task.

Returns:

Expected load of the given task. For consistency; if no accurate calculation is possible return 0 seconds.