diff options
author | Christopher Kenna <cjk@cs.unc.edu> | 2011-08-27 18:00:39 -0400 |
---|---|---|
committer | Christopher Kenna <cjk@cs.unc.edu> | 2011-08-27 18:00:39 -0400 |
commit | f143b41261e8ae9cc48e8b68af2679ef332bd9e4 (patch) | |
tree | a7914d6ae181df324aa9f91269cf7d80d87d507e /include | |
parent | d691d4545dc0594bc4bf13c4c07eeeaf73c3b232 (diff) |
Changes to rtspin for mixed criticality (MC).
Add options to rtspin to set the criticality level using the -r flag.
You must be using a kernel that has support for mixed criticality
(has include/litmus/sched_mc.h for struct definitions, etc.).
Diffstat (limited to 'include')
-rw-r--r-- | include/litmus.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/litmus.h b/include/litmus.h index 52435d8..b693e5c 100644 --- a/include/litmus.h +++ b/include/litmus.h | |||
@@ -26,6 +26,9 @@ int be_migrate_to(int target_cpu); | |||
26 | int set_rt_task_param(pid_t pid, struct rt_task* param); | 26 | int set_rt_task_param(pid_t pid, struct rt_task* param); |
27 | int get_rt_task_param(pid_t pid, struct rt_task* param); | 27 | int get_rt_task_param(pid_t pid, struct rt_task* param); |
28 | 28 | ||
29 | struct mc_task; | ||
30 | int set_rt_task_mc_param(pid_t pid, struct mc_task *param); | ||
31 | |||
29 | /* setup helper */ | 32 | /* setup helper */ |
30 | 33 | ||
31 | /* times are given in ms */ | 34 | /* times are given in ms */ |