diff options
| -rw-r--r-- | extra.h | 3 |
1 files changed, 2 insertions, 1 deletions
| @@ -211,7 +211,8 @@ static void _rt_load_params_itrl(int argc, char **argv) { | |||
| 211 | } | 211 | } |
| 212 | struct rt_task rt_param; | 212 | struct rt_task rt_param; |
| 213 | init_rt_task_param(&rt_param); | 213 | init_rt_task_param(&rt_param); |
| 214 | rt_param.exec_cost = 0; // We disable budget enforcement, so this doesn't matter | 214 | // Fake exec cost - this value ignored by the MC^2 scheduler |
| 215 | rt_param.exec_cost = _rt_period; | ||
| 215 | rt_param.period = ms2ns(_rt_period); | 216 | rt_param.period = ms2ns(_rt_period); |
| 216 | rt_param.relative_deadline = 0; | 217 | rt_param.relative_deadline = 0; |
| 217 | rt_param.phase = 0; | 218 | rt_param.phase = 0; |
