aboutsummaryrefslogtreecommitdiffstats
path: root/src/task.c
diff options
context:
space:
mode:
authorGlenn Elliott <gelliott@cs.unc.edu>2013-11-26 14:42:45 -0500
committerGlenn Elliott <gelliott@cs.unc.edu>2013-11-26 14:42:45 -0500
commitd6e5eee7b7863d179e95962f0144c3daeba35a44 (patch)
tree5de25724dea46139ff06b57b4c92bb04a6fe50c6 /src/task.c
parent6ec2bbce01c4d4287504d4d6b1df7c4d3870abce (diff)
Add support for job splitting.wip-pgm
This patch adds support for job splittinig schedulers. The default split factor for jobs is 1 (unchanged behavior).
Diffstat (limited to 'src/task.c')
-rw-r--r--src/task.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/task.c b/src/task.c
index 5f2fa26..e519ca3 100644
--- a/src/task.c
+++ b/src/task.c
@@ -49,6 +49,7 @@ int __create_rt_task(rt_fn_t rt_prog, void *arg, int cluster, int cluster_size,
49 params.exec_cost = wcet; 49 params.exec_cost = wcet;
50 params.cls = class; 50 params.cls = class;
51 params.phase = 0; 51 params.phase = 0;
52 params.split = 1;
52 params.priority = priority; 53 params.priority = priority;
53 /* enforce budget for tasks that might not use sleep_next_period() */ 54 /* enforce budget for tasks that might not use sleep_next_period() */
54 params.budget_policy = QUANTUM_ENFORCEMENT; 55 params.budget_policy = QUANTUM_ENFORCEMENT;