コード例 #1
0
def is_deadline_missed(no_cpus, tasks, simulation_length=60):
    ts = sim.get_native_taskset(tasks)
    return cpp.edf_misses_deadline(no_cpus, ts, int(sec2us(simulation_length)))
コード例 #2
0
def time_of_first_miss(no_cpus, tasks, simulation_length=60):
    ts = sim.get_native_taskset(tasks)
    return cpp.edf_first_violation(no_cpus, ts, int(sec2us(simulation_length)))