diff options
| author | Glenn Elliott <gelliott@cs.unc.edu> | 2013-11-26 14:42:45 -0500 |
|---|---|---|
| committer | Glenn Elliott <gelliott@cs.unc.edu> | 2013-11-26 14:42:45 -0500 |
| commit | d6e5eee7b7863d179e95962f0144c3daeba35a44 (patch) | |
| tree | 5de25724dea46139ff06b57b4c92bb04a6fe50c6 /src/task.c | |
| parent | 6ec2bbce01c4d4287504d4d6b1df7c4d3870abce (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.c | 1 |
1 files changed, 1 insertions, 0 deletions
| @@ -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; |
