Exemplo n.º 1
0
def qpa_split_off_chunk(partition, task_to_split):
    ts = schedcat.sched.get_native_taskset(partition)
    max_wcet = native.qpa_get_max_C_equal_D_cost(ts, task_to_split.cost,
                                                 task_to_split.period)
    return max_wcet
Exemplo n.º 2
0
 def test_qpa_get_max_C_equal_D_cost_4(self):
     ts = sched.get_native_taskset(self.ts4)
     max_wcet = native.qpa_get_max_C_equal_D_cost(
         ts, 21, 30)
     self.assertEqual(max_wcet, 16)
Exemplo n.º 3
0
def qpa_split_off_chunk(partition, task_to_split):
    ts = schedcat.sched.get_native_taskset(partition)
    max_wcet = native.qpa_get_max_C_equal_D_cost(
            ts, task_to_split.cost, task_to_split.period)
    return max_wcet
Exemplo n.º 4
0
 def test_qpa_get_max_C_equal_D_cost_3(self):
     ts = sched.get_native_taskset(self.ts3)
     max_wcet = native.qpa_get_max_C_equal_D_cost(
         ts, 6, 12)
     self.assertEqual(max_wcet, 1)
Exemplo n.º 5
0
 def test_qpa_get_max_C_equal_D_cost_1(self):
     ts = sched.get_native_taskset(self.ts1[:1])
     max_wcet = native.qpa_get_max_C_equal_D_cost(
         ts, self.ts1[1].cost, self.ts1[1].period)
     self.assertEqual(max_wcet, 34)
Exemplo n.º 6
0
 def test_qpa_get_max_C_equal_D_cost_4(self):
     ts = sched.get_native_taskset(self.ts4)
     max_wcet = native.qpa_get_max_C_equal_D_cost(ts, 21, 30)
     self.assertEqual(max_wcet, 16)
Exemplo n.º 7
0
 def test_qpa_get_max_C_equal_D_cost_3(self):
     ts = sched.get_native_taskset(self.ts3)
     max_wcet = native.qpa_get_max_C_equal_D_cost(ts, 6, 12)
     self.assertEqual(max_wcet, 1)
Exemplo n.º 8
0
 def test_qpa_get_max_C_equal_D_cost_1(self):
     ts = sched.get_native_taskset(self.ts1[:1])
     max_wcet = native.qpa_get_max_C_equal_D_cost(ts, self.ts1[1].cost,
                                                  self.ts1[1].period)
     self.assertEqual(max_wcet, 34)