From 2b4bf574a66c034d30e3cc84cf8cf6d588f036db Mon Sep 17 00:00:00 2001 From: leochanj105 Date: Tue, 19 Oct 2021 21:33:35 -0400 Subject: add command line prompts --- extra.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'extra.h') diff --git a/extra.h b/extra.h index 5abb0c7..9938cee 100644 --- a/extra.h +++ b/extra.h @@ -30,7 +30,7 @@ extern int sched_getcpu(); #endif // This is a proxy for "case study mode" now -#define LITMUS 0 +#define LITMUS 1 #define MMDC_PROF 0 #if LITMUS @@ -86,10 +86,10 @@ struct control_page *_rt_cp; static void _rt_load_params_itrl(int argc, char **argv) { #ifdef PAIRED if (argc != (9 + LITMUS*2) && argc != (10 + LITMUS*2)) { - fprintf(stderr, "Usage: %s \n", argv[0]); + fprintf(stderr, "Usage: %s \n", argv[0]); #else if (argc != (7 + LITMUS*2)) { - fprintf(stderr, "Usage: %s \n", argv[0]); + fprintf(stderr, "Usage: %s \n", argv[0]); #endif /* PAIRED */ fprintf(stderr, " string for logging. Name of this task.\n"); fprintf(stderr, " integer number of iterations. -1 for infinite.\n"); -- cgit v1.2.2