aboutsummaryrefslogtreecommitdiffstats
path: root/include/litmus.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/litmus.h')
-rw-r--r--include/litmus.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/litmus.h b/include/litmus.h
index b10abff..6699213 100644
--- a/include/litmus.h
+++ b/include/litmus.h
@@ -1,7 +1,7 @@
1#ifndef LITMUS_H 1#ifndef LITMUS_H
2#define LITMUS_H 2#define LITMUS_H
3 3
4#include <linux/rt_param.h> 4#include <litmus/rt_param.h>
5#include <sys/types.h> 5#include <sys/types.h>
6 6
7typedef int pid_t; /* PID of a task */ 7typedef int pid_t; /* PID of a task */
@@ -14,7 +14,7 @@ int get_rt_task_param(pid_t pid, struct rt_task* param);
14 14
15/* setup helper */ 15/* setup helper */
16/* times are givin in ms */ 16/* times are givin in ms */
17int sporadic_task(unsigned long exec_cost, unsigned long period, 17int sporadic_task(unsigned long exec_cost, unsigned long period,
18 int partition, task_class_t cls); 18 int partition, task_class_t cls);
19 19
20#define sporadic_global(e, p) \ 20#define sporadic_global(e, p) \
@@ -57,7 +57,7 @@ void exit_litmus(void);
57typedef int (*rt_fn_t)(void*); 57typedef int (*rt_fn_t)(void*);
58 58
59int create_rt_task(rt_fn_t rt_prog, void *arg, int cpu, int wcet, int period); 59int create_rt_task(rt_fn_t rt_prog, void *arg, int cpu, int wcet, int period);
60int __create_rt_task(rt_fn_t rt_prog, void *arg, int cpu, int wcet, 60int __create_rt_task(rt_fn_t rt_prog, void *arg, int cpu, int wcet,
61 int period, task_class_t cls); 61 int period, task_class_t cls);
62 62
63/* per-task modes */ 63/* per-task modes */