From c57cfe0b20405dfa7eec99cff6aeb1976df75eda Mon Sep 17 00:00:00 2001 From: xiaosuGW Date: Thu, 9 Sep 2021 22:03:30 -0400 Subject: [PATCH] modifiy main.c to support SRSF --- runtime/src/main.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/runtime/src/main.c b/runtime/src/main.c index 7c34de4..5c5ee12 100644 --- a/runtime/src/main.c +++ b/runtime/src/main.c @@ -184,6 +184,8 @@ runtime_configure() scheduler = SCHEDULER_EDF; } else if (strcmp(scheduler_policy, "FIFO") == 0) { scheduler = SCHEDULER_FIFO; + } else if (strcmp(scheduler_policy, "SRSF") == 0) { + scheduler = SCHEDULER_SRSF; } else { panic("Invalid scheduler policy: %s. Must be {EDF|FIFO}\n", scheduler_policy); }