Public Member Functions | |
def | __init__ |
def | create_rate |
def | current_time |
def | get_current_tid |
def | kill_all_tasks_except |
def | kill_task |
def | kill_tasks |
def | list_all_tids |
def | new_task |
def | pause_all_tasks_except |
def | pause_task |
def | pause_tasks |
def | printd |
def | resume_all_tasks_except |
def | resume_task |
def | resume_tasks |
def | step |
Public Attributes | |
cond_waiting | |
current_task | |
exit_waiting | |
paused_in_ready | |
paused_in_syscall | |
ready | |
taskmap | |
Private Member Functions | |
def | _add_condition |
def | _del_condition |
def | _exit |
def | _log_task_created |
def | _log_task_terminated |
def | _schedule |
def | _schedule_now |
def | _set_timer_callback |
def | _sleep |
def | _test_conditions |
def | _wait_condition |
def | _wait_duration |
def | _wait_duration_rate |
def | _wait_for_exit |
def teer.Scheduler.__init__ | ( | self | ) |
def teer.Scheduler._add_condition | ( | self, | |
entry | |||
) | [private] |
def teer.Scheduler._del_condition | ( | self, | |
candidate | |||
) | [private] |
def teer.Scheduler._exit | ( | self, | |
exiting_task | |||
) | [private] |
def teer.Scheduler._log_task_created | ( | self, | |
task | |||
) | [private] |
def teer.Scheduler._log_task_terminated | ( | self, | |
task | |||
) | [private] |
def teer.Scheduler._schedule | ( | self, | |
task | |||
) | [private] |
def teer.Scheduler._schedule_now | ( | self, | |
task | |||
) | [private] |
def teer.Scheduler._set_timer_callback | ( | self, | |
t, | |||
f | |||
) | [private] |
Execute function f at time t
Reimplemented in teer.TimerScheduler.
def teer.Scheduler._sleep | ( | self, | |
duration | |||
) | [private] |
def teer.Scheduler._test_conditions | ( | self, | |
name | |||
) | [private] |
def teer.Scheduler._wait_condition | ( | self, | |
task, | |||
condition | |||
) | [private] |
def teer.Scheduler._wait_duration | ( | self, | |
task, | |||
duration | |||
) | [private] |
def teer.Scheduler._wait_duration_rate | ( | self, | |
task, | |||
duration, | |||
rate | |||
) | [private] |
def teer.Scheduler._wait_for_exit | ( | self, | |
task, | |||
waittid | |||
) | [private] |
def teer.Scheduler.create_rate | ( | self, | |
rate | |||
) |
def teer.Scheduler.current_time | ( | self | ) |
def teer.Scheduler.get_current_tid | ( | self | ) |
def teer.Scheduler.kill_all_tasks_except | ( | self, | |
tids | |||
) |
def teer.Scheduler.kill_task | ( | self, | |
tid | |||
) |
def teer.Scheduler.kill_tasks | ( | self, | |
tids | |||
) |
def teer.Scheduler.list_all_tids | ( | self | ) |
def teer.Scheduler.new_task | ( | self, | |
target | |||
) |
def teer.Scheduler.pause_all_tasks_except | ( | self, | |
tids | |||
) |
def teer.Scheduler.pause_task | ( | self, | |
tid | |||
) |
def teer.Scheduler.pause_tasks | ( | self, | |
tids | |||
) |
def teer.Scheduler.printd | ( | self, | |
msg | |||
) |
def teer.Scheduler.resume_all_tasks_except | ( | self, | |
tids | |||
) |
def teer.Scheduler.resume_task | ( | self, | |
tid | |||
) |
def teer.Scheduler.resume_tasks | ( | self, | |
tids | |||
) |
def teer.Scheduler.step | ( | self | ) |