summaryrefslogtreecommitdiffstats
path: root/extra.h
diff options
context:
space:
mode:
authorleochanj105 <leochanj@live.unc.edu>2021-10-24 20:47:48 -0400
committerleochanj105 <leochanj@live.unc.edu>2021-10-24 20:47:48 -0400
commit00e4ce40b0af8e94f5b5e44945d73c6778cc9991 (patch)
treed43722426e2788d3140dcb1240b9a0823b1b420e /extra.h
parent1f94b49d8f5bbe88286992f2b0bdc740e676ea44 (diff)
10-24 tmp
Diffstat (limited to 'extra.h')
-rw-r--r--extra.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/extra.h b/extra.h
index 60917be..76fd8c0 100644
--- a/extra.h
+++ b/extra.h
@@ -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 1 33#define LITMUS 0
34#define MMDC_PROF 0 34#define MMDC_PROF 0
35 35
36#if LITMUS 36#if LITMUS
@@ -85,11 +85,11 @@ struct control_page *_rt_cp;
85 85
86static void _rt_load_params_itrl(int argc, char **argv) { 86static 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 != (8 + LITMUS*3) && argc != (9 + LITMUS*3)) {
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]); 89 fprintf(stderr, "Usage: %s <name> <loops> <my core> <other core> <other name> <runID> <save results?> <pairID>\n", argv[0]);
90#else 90#else
91 if (argc != (7 + LITMUS*2)) { 91 if (argc != (6 + LITMUS*3)) {
92 fprintf(stderr, "Usage: %s <name> <loops> <my core> <runID> <save results?> <task period> <task criticality> <task phase>\n", argv[0]); 92 fprintf(stderr, "Usage: %s <name> <loops> <my core> <runID> <save results?>\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");