Changeset 9235192c
- Timestamp:
- Jul 5, 2023, 2:10:59 PM (17 months ago)
- Branches:
- master
- Children:
- 7c4416a
- Parents:
- 7ce70e2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
doc/theses/colby_parsons_MMAth/benchmarks/actors/run
r7ce70e2 r9235192c 85 85 } 86 86 87 #used for output formatting 88 column_headers="proc\ttime (s)" 89 87 90 # executor config 88 91 batch='100' … … 109 112 110 113 # bench_cores='1 2 4 8 16 24 32' 111 # bench_cores='1 2 4 8 16 24 32 48' 112 bench_cores='48' 114 bench_cores='1 2 4 8 16 24 32 48' 115 # bench_cores='48' 116 117 # toggle specific experiment configs 118 missed_gulps=${true} 113 119 114 120 # toggle benchmarks 115 executor=${ false}116 matrix=${ false}117 repeat=${ false}121 executor=${true} 122 matrix=${true} 123 repeat=${true} 118 124 balance=${false} 119 static=${ true}120 dynamic=${ true}125 static=${false} 126 dynamic=${false} 121 127 122 128 # names=('CFA-LV' 'CFA-NS' 'CFA-R') … … 143 149 # runPROTO=${false} 144 150 # runAKKA=${false} 151 152 if [ ${missed_gulps} -eq ${true} ] ; then 153 bench_cores='2 4 8 16 24 32 48' 154 column_headers="proc\tmissed\ttime (s)" 155 names=('CFA') 156 var_flags=('-D__STEAL=1 -DSEARCH=1 -DACTOR_STATS_QUEUE_MISSED') 157 runCAF=${false} 158 runUCPP=${false} 159 runPROTO=${false} 160 runAKKA=${false} 161 fi 145 162 146 163 cfa=~/cfa-cc/driver/cfa … … 196 213 197 214 for i in ${!names[@]}; do 198 215 echo -n ${names[$i]}" " 199 216 done 200 217 if [ ${runCAF} -eq ${true} ] ; then -
libcfa/src/concurrency/actor.hfa
r7ce70e2 r9235192c 38 38 // show stats 39 39 // #define ACTOR_STATS 40 41 // used to run and only track missed queue gulps 42 #ifdef ACTOR_STATS 43 #define ACTOR_STATS_QUEUE_MISSED 44 #endif 40 45 41 46 // forward decls … … 129 134 #ifdef ACTOR_STATS 130 135 unsigned int id; 136 #endif 137 #ifdef ACTOR_STATS_QUEUE_MISSED 131 138 size_t missed; // transfers skipped due to being_processed flag being up 132 139 #endif … … 338 345 } // for 339 346 340 #ifdef ACTOR_STATS 347 #ifdef ACTOR_STATS_QUEUE_MISSED 341 348 size_t misses = 0; 342 349 for ( i; nrqueues ) { … … 365 372 printf("\tMessages stolen:\t\t\t%lu\n\tAverage steal size:\t\t\t%lu\n", __all_msgs_stolen, avg_steal); 366 373 #endif 374 375 #ifndef ACTOR_STATS 376 #ifdef ACTOR_STATS_QUEUE_MISSED 377 printf("\t%lu", misses); 378 #endif 379 #endif 367 380 368 381 }
Note: See TracChangeset
for help on using the changeset viewer.