Class StaticTaskRescheduler
Defined in File StaticTaskRescheduler.hpp
Inheritance Relationships
Base Type
public combigrid::TaskRescheduler(Class TaskRescheduler)
Class Documentation
-
class StaticTaskRescheduler : public combigrid::TaskRescheduler
Static task rescheduler implementing the task rescheduler interface.
The static task rescheduler NEVER instructs a change in the task distribution.
Public Functions
-
inline virtual std::vector<std::pair<LevelVector, int>> eval(const std::map<LevelVector, int> &levelVectorToProcessGroupIndex, const std::map<LevelVector, unsigned long> &levelVectorToTaskDuration, LoadModel *loadModel) override
Does not calculate a change in task distribution. It never instructs a change in the task distribution.
- Parameters:
levelVectorToProcessGroupIndex – The current task distribution — ignored.
levelVectorToTaskDuration – The last measured durations of the tasks run function — ignored.
loadModel – The load model to use for the prognosis of future task loads — ignored.
- Returns:
An empty vector.
-
inline virtual std::vector<std::pair<LevelVector, int>> eval(const std::map<LevelVector, int> &levelVectorToProcessGroupIndex, const std::map<LevelVector, unsigned long> &levelVectorToTaskDuration, LoadModel *loadModel) override