Changes in / [7c4416a:f6afd84]
- Files:
-
- 2 edited
-
doc/theses/colby_parsons_MMAth/benchmarks/actors/run (modified) (4 diffs)
-
libcfa/src/concurrency/actor.hfa (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
doc/theses/colby_parsons_MMAth/benchmarks/actors/run
r7c4416a rf6afd84 85 85 } 86 86 87 #used for output formatting88 87 column_headers="proc\ttime (s)" 89 88 … … 113 112 numtimes=5 114 113 115 # bench_cores=' 1 2 4 8 16 24 32'114 # bench_cores='4 8' 116 115 bench_cores='1 2 4 8 16 24 32 48' 117 116 # bench_cores='48' 118 117 119 # toggle missed gulp tracking config (overrides specified config) 120 missed_gulps=${true} 121 # missed_gulps=${false} 122 123 # toggle mem collection config (overrides specified config) 124 # outputs mem instead of time 125 mem=${true} 118 # toggle mem collection instead of time (executor only) 119 # mem=${true} 126 120 mem=${false} 127 121 … … 176 170 runPROTO=${false} 177 171 runAKKA=${false} 178 executor=${true}179 matrix=${true}180 repeat=${true}181 fi182 183 if [ ${mem} -eq ${true} ] ; then184 bench_cores='48'185 column_headers="proc\tmem (kB)"186 names=('CFA')187 var_flags=('-D__STEAL=1 -DSEARCH=1')188 runCAF=${true}189 runUCPP=${true}190 runPROTO=${true}191 runAKKA=${true}192 executor=${true}193 matrix=${false}194 repeat=${false}195 balance=${false}196 static=${false}197 dynamic=${false}198 172 fi 199 173 … … 256 230 257 231 for i in ${!names[@]}; do 258 echo -n ${names[$i]}" "232 echo -n ${names[$i]}" " 259 233 done 260 234 if [ ${runCAF} -eq ${true} ] ; then -
libcfa/src/concurrency/actor.hfa
r7c4416a rf6afd84 38 38 // show stats 39 39 // #define ACTOR_STATS 40 41 // used to run and only track missed queue gulps42 #ifdef ACTOR_STATS43 #define ACTOR_STATS_QUEUE_MISSED44 #endif45 40 46 41 // forward decls … … 134 129 #ifdef ACTOR_STATS 135 130 unsigned int id; 136 #endif137 #ifdef ACTOR_STATS_QUEUE_MISSED138 131 size_t missed; // transfers skipped due to being_processed flag being up 139 132 #endif … … 345 338 } // for 346 339 347 #ifdef ACTOR_STATS _QUEUE_MISSED340 #ifdef ACTOR_STATS 348 341 size_t misses = 0; 349 342 for ( i; nrqueues ) { … … 372 365 printf("\tMessages stolen:\t\t\t%lu\n\tAverage steal size:\t\t\t%lu\n", __all_msgs_stolen, avg_steal); 373 366 #endif 374 375 #ifndef ACTOR_STATS376 #ifdef ACTOR_STATS_QUEUE_MISSED377 printf("\t%lu", misses);378 #endif379 #endif380 367 381 368 }
Note:
See TracChangeset
for help on using the changeset viewer.