Changeset ec21f13
- Timestamp:
- Jun 25, 2020, 3:19:02 PM (4 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- f2b18d01
- Parents:
- cb85603
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
benchmark/benchcltr.hfa
rcb85603 rec21f13 6 6 #include <stats.hfa> 7 7 8 #define BENCH_OPT_SHORT "d:p:t:SP "8 #define BENCH_OPT_SHORT "d:p:t:SPV" 9 9 #define BENCH_OPT_LONG \ 10 10 {"duration", required_argument, 0, 'd'}, \ … … 12 12 {"nprocs", required_argument, 0, 'p'}, \ 13 13 {"nostats", no_argument , 0, 'S'}, \ 14 {"procstat", no_argument , 0, 'P'}, 14 {"procstat", no_argument , 0, 'P'}, \ 15 {"viewhalts", no_argument , 0, 'V'}, 15 16 16 17 #define BENCH_DECL \ … … 46 47 case 'P': \ 47 48 procstats = true; \ 49 break; \ 50 case 'V': \ 51 viewhalts = true; \ 48 52 break; 49 53 50 54 bool silent = false; 51 55 bool procstats = false; 56 bool viewhalts = false; 52 57 struct cluster * the_benchmark_cluster = 0p; 53 58 struct BenchCluster { … … 80 85 print_stats_at_exit( this.self, the_benchmark_cluster->print_stats ); 81 86 } 87 if( viewhalts ) { 88 print_halts( this.self ); 89 } 82 90 #endif 83 91 }
Note: See TracChangeset
for help on using the changeset viewer.