示例#1
0
    def populate_params(cls):
        for idx in range(len(cls.env.target.bl.bigs)):
            task = cls.task_prefix + str(idx)
            cls.params[task] = RTA.periodic(**BIG_WORKLOAD)

        for idx in range(len(cls.env.target.bl.littles)):
            task = cls.task_prefix + str(idx)
            cls.params[task] = RTA.periodic(**SMALL_WORKLOAD)
示例#2
0
    def populate_params(cls):
        for idx in range(len(cls.env.target.bl.bigs)):
            task = cls.task_prefix + str(idx)
            cls.params[task] = RTA.periodic(**BIG_WORKLOAD)

        for idx in range(len(cls.env.target.bl.littles)):
            task = cls.task_prefix + str(idx)
            cls.params[task] = RTA.periodic(**SMALL_WORKLOAD)
示例#3
0
    def populate_tasks(cls):
        migrator_workload = BIG_WORKLOAD.copy()
        migrator_workload["duration_s"] = 9
        migrator_workload["delay_s"] = 1

        for idx in range(cls.num_tasks):
            task = "early_starters" + str(idx)
            cls.params[task] = RTA.periodic(**BIG_WORKLOAD)
            cls.early_starters.append(task)

            # Tasks that will be idle pulled
            task = "migrator" + str(idx)
            cls.params[task] = RTA.periodic(**migrator_workload)
            cls.migrators.append(task)
示例#4
0
    def populate_tasks(cls):
        migrator_workload = BIG_WORKLOAD.copy()
        migrator_workload["duration_s"] = 9
        migrator_workload["delay_s"] = 1

        for idx in range(cls.num_tasks):
            task = "early_starters" + str(idx)
            cls.params[task] = RTA.periodic(**BIG_WORKLOAD)
            cls.early_starters.append(task)

            # Tasks that will be idle pulled
            task = "migrator" + str(idx)
            cls.params[task] = RTA.periodic(**migrator_workload)
            cls.migrators.append(task)
示例#5
0
 def populate_params(cls):
     for i in range(cls.num_tasks):
         task = cls.task_prefix + str(i)
         cls.params[task] = RTA.periodic(**SMALL_WORKLOAD)
示例#6
0
 def populate_params(cls):
     for i in range(cls.num_tasks):
         task = cls.task_prefix + str(i)
         cls.params[task] = RTA.periodic(**SMALL_WORKLOAD)