diff options
author | Andrea Bastoni <bastoni@cs.unc.edu> | 2009-12-17 21:23:36 -0500 |
---|---|---|
committer | Andrea Bastoni <bastoni@cs.unc.edu> | 2009-12-17 21:23:36 -0500 |
commit | 0fc918fd60c7f6b2ed5783b6be7886de178704f0 (patch) | |
tree | fc41661176a9fea1f63312f70be91cf05f693119 /include/litmus/jobs.h | |
parent | 22763c5cf3690a681551162c15d34d935308c8d7 (diff) |
Core LITMUS^RT infrastructure.
to be merged:
- SRP (sched.c)
- feather-trace implementation (to be fixed)
- sync support (KConfig)
litmus_sched_class implements 3 new methods:
.prio_changed:
void
.switched_to:
void
.get_rr_interval:
return infinity (i.e., 0)
Diffstat (limited to 'include/litmus/jobs.h')
-rw-r--r-- | include/litmus/jobs.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/litmus/jobs.h b/include/litmus/jobs.h new file mode 100644 index 000000000000..9bd361ef3943 --- /dev/null +++ b/include/litmus/jobs.h | |||
@@ -0,0 +1,9 @@ | |||
1 | #ifndef __LITMUS_JOBS_H__ | ||
2 | #define __LITMUS_JOBS_H__ | ||
3 | |||
4 | void prepare_for_next_period(struct task_struct *t); | ||
5 | void release_at(struct task_struct *t, lt_t start); | ||
6 | long complete_job(void); | ||
7 | |||
8 | #endif | ||
9 | |||