summaryrefslogtreecommitdiffstats
path: root/extra.h
diff options
context:
space:
mode:
Diffstat (limited to 'extra.h')
-rw-r--r--extra.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/extra.h b/extra.h
index 3f1df9d..9c72064 100644
--- a/extra.h
+++ b/extra.h
@@ -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;