Class StaticTaskRescheduler

Inheritance Relationships

Base Type

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 &#8212; ignored.

  • levelVectorToTaskDuration – The last measured durations of the tasks run function &#8212; ignored.

  • loadModel – The load model to use for the prognosis of future task loads &#8212; ignored.

Returns:

An empty vector.