10 #ifndef TASK_SET_GENERATOR_H 11 #define TASK_SET_GENERATOR_H 21 class RandomGenerator;
22 class BoundedRandomDistribution;
28 class SchedulingSimulator;
29 class SchedulerConfiguration;
52 ,
unsigned int nbOfTasks
55 ,
bool critical =
true 56 ,
bool integerPeriod =
false 57 , std::shared_ptr<Utils::BoundedRandomDistribution> dist =
nullptr 60 static bool arePrioritiesEnabled(std::shared_ptr<SchedulerConfiguration> conf);
62 static std::vector<double> computeAow(
63 std::vector<double> periods
64 , std::vector<double> portion
65 ,
unsigned int nbOfTask
67 static std::vector<double> generateTaskPeriods(
68 unsigned int nbOfTasks
72 static std::vector<double> generateCpuUtilizationOfTasks(
73 unsigned int nbOfTasks
77 static void generateTasks(
78 std::vector<double> periods
79 , std::vector<double> aow
82 ,
unsigned int nbOfTasks
85 , std::shared_ptr<Utils::BoundedRandomDistribution> dist
88 static constexpr
const double maxT = 30.0;
89 static constexpr
const double minT = 5.0;