diff options
| author | leochanj105 <leochanj@live.unc.edu> | 2021-10-19 21:33:35 -0400 |
|---|---|---|
| committer | leochanj105 <leochanj@live.unc.edu> | 2021-10-19 21:33:35 -0400 |
| commit | 2b4bf574a66c034d30e3cc84cf8cf6d588f036db (patch) | |
| tree | afeccbe04aece5a7896a3b74e41ded1f28cc58b4 | |
| parent | 3d93f4751ea2d40babcff71c74effe12792abf4a (diff) | |
add command line prompts
| -rw-r--r-- | extra.h | 6 |
1 files changed, 3 insertions, 3 deletions
| @@ -30,7 +30,7 @@ extern int sched_getcpu(); | |||
| 30 | #endif | 30 | #endif |
| 31 | 31 | ||
| 32 | // This is a proxy for "case study mode" now | 32 | // This is a proxy for "case study mode" now |
| 33 | #define LITMUS 0 | 33 | #define LITMUS 1 |
| 34 | #define MMDC_PROF 0 | 34 | #define MMDC_PROF 0 |
| 35 | 35 | ||
| 36 | #if LITMUS | 36 | #if LITMUS |
| @@ -86,10 +86,10 @@ struct control_page *_rt_cp; | |||
| 86 | static void _rt_load_params_itrl(int argc, char **argv) { | 86 | static void _rt_load_params_itrl(int argc, char **argv) { |
| 87 | #ifdef PAIRED | 87 | #ifdef PAIRED |
| 88 | if (argc != (9 + LITMUS*2) && argc != (10 + LITMUS*2)) { | 88 | if (argc != (9 + LITMUS*2) && argc != (10 + LITMUS*2)) { |
| 89 | fprintf(stderr, "Usage: %s <name> <loops> <my core> <other core> <other name> <runID> <save results?> <pairID>\n", argv[0]); | 89 | fprintf(stderr, "Usage: %s <name> <loops> <my core> <other core> <other name> <runID> <save results?> <pairID> <task period> <task criticality> <task phase>\n", argv[0]); |
| 90 | #else | 90 | #else |
| 91 | if (argc != (7 + LITMUS*2)) { | 91 | if (argc != (7 + LITMUS*2)) { |
| 92 | fprintf(stderr, "Usage: %s <name> <loops> <my core> <runID> <save results?>\n", argv[0]); | 92 | fprintf(stderr, "Usage: %s <name> <loops> <my core> <runID> <save results?> <task period> <task criticality> <task phase>\n", argv[0]); |
| 93 | #endif /* PAIRED */ | 93 | #endif /* PAIRED */ |
| 94 | fprintf(stderr, " <name> string for logging. Name of this task.\n"); | 94 | fprintf(stderr, " <name> string for logging. Name of this task.\n"); |
| 95 | fprintf(stderr, " <loops> integer number of iterations. -1 for infinite.\n"); | 95 | fprintf(stderr, " <loops> integer number of iterations. -1 for infinite.\n"); |
