summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorleochanj105 <leochanj@live.unc.edu>2020-10-23 02:51:16 -0400
committerleochanj105 <leochanj@live.unc.edu>2020-10-23 02:51:16 -0400
commitd09efc79b35b4d8e7018c7378bff5e85308d4943 (patch)
treeb1c23d627732affa899834adb69a88d66a548f46
parente23e931be4776b89149fdb2596f47096e6cdb78c (diff)
parent915023773323b23671172c0b539e859e203756df (diff)
Merge branch 'rtas20-wip' into sd-vbs
-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;