Changes in / [f6afd84:7c4416a]
- 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
rf6afd84 r7c4416a 85 85 } 86 86 87 #used for output formatting 87 88 column_headers="proc\ttime (s)" 88 89 … … 112 113 numtimes=5 113 114 114 # bench_cores=' 4 8'115 # bench_cores='1 2 4 8 16 24 32' 115 116 bench_cores='1 2 4 8 16 24 32 48' 116 117 # bench_cores='48' 117 118 118 # toggle mem collection instead of time (executor only) 119 # mem=${true} 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} 120 126 mem=${false} 121 127 … … 170 176 runPROTO=${false} 171 177 runAKKA=${false} 178 executor=${true} 179 matrix=${true} 180 repeat=${true} 181 fi 182 183 if [ ${mem} -eq ${true} ] ; then 184 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} 172 198 fi 173 199 … … 230 256 231 257 for i in ${!names[@]}; do 232 echo -n ${names[$i]}" "258 echo -n ${names[$i]}" " 233 259 done 234 260 if [ ${runCAF} -eq ${true} ] ; then -
libcfa/src/concurrency/actor.hfa
rf6afd84 r7c4416a 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.