Class MicrocsecondsLearningLoadModel
Defined in File MicrosecondsLearningLoadModel.hpp
Inheritance Relationships
Base Type
public combigrid::LearningLoadModel(Class LearningLoadModel)
Derived Type
public combigrid::AverageOfLastNLoadModel(Class AverageOfLastNLoadModel)
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.
-
virtual std::chrono::microseconds evalSpecificUOT(const LevelVector &lvlVec) = 0