aboutsummaryrefslogtreecommitdiffstats
path: root/include/litmus/edf_split_common.h
diff options
context:
space:
mode:
authorNamhoon Kim <namhoonk@ludwig.cs.unc.edu>2013-11-25 17:16:38 -0500
committerNamhoon Kim <namhoonk@ludwig.cs.unc.edu>2013-11-25 17:16:38 -0500
commitd2f58ddbfb1dd4fb1b6ff0bebbd886b1dcf5af34 (patch)
tree962fdfb5344956d341adcfc20508adb14437acbc /include/litmus/edf_split_common.h
parentbcaacec1ca714224807728a63eccb37e3d685cd6 (diff)
First draft of C-FL-splitwip-pgm-split
Diffstat (limited to 'include/litmus/edf_split_common.h')
-rw-r--r--include/litmus/edf_split_common.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/include/litmus/edf_split_common.h b/include/litmus/edf_split_common.h
new file mode 100644
index 000000000000..4e7c0ce23c9d
--- /dev/null
+++ b/include/litmus/edf_split_common.h
@@ -0,0 +1,25 @@
1/*
2 * EDF common data structures and utility functions shared by all EDF
3 * based scheduler plugins
4 */
5
6/* CLEANUP: Add comments and make it less messy.
7 *
8 */
9
10#ifndef __UNC_EDF_SPLIT_COMMON_H__
11#define __UNC_EDF_SPLIT_COMMON_H__
12
13#include <litmus/rt_domain.h>
14
15void edf_split_domain_init(rt_domain_t* rt, check_resched_needed_t resched,
16 release_jobs_t release);
17
18int edf_split_higher_prio(struct task_struct* first,
19 struct task_struct* second);
20
21int edf_split_ready_order(struct bheap_node* a, struct bheap_node* b);
22
23int edf_split_preemption_needed(rt_domain_t* rt, struct task_struct *t);
24
25#endif