- Timestamp:
- Jun 26, 2023, 10:11:03 PM (2 years ago)
- Branches:
- master
- Children:
- b9c06b98
- Parents:
- 65ef0cd (diff), 917e1fd (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
doc/theses/colby_parsons_MMAth/benchmarks/waituntil/run
r65ef0cd rc4497e3 85 85 } 86 86 87 # numtimes=5 88 numtimes=187 numtimes=3 88 # numtimes=1 89 89 90 90 # num_threads='2 4 8 16 24 32' 91 #side_chan_threads='6 12 18 24 30' # must be mults of 691 side_chan_threads='6 12 18 24 30' # must be mults of 6 92 92 num_threads='2' 93 side_chan_threads='6'93 # side_chan_threads='6' 94 94 95 95 chan_size='10' 96 96 future_time='10' 97 future_flags=('-DOR' '-DAND3' '-DANDOR' '-DORAND') 98 future_names=('OR' 'AND' 'ANDOR' 'ORAND') 97 99 98 100 # toggle benchmarks … … 103 105 spin=${false} 104 106 contend=${false} 105 sidechan=${false}106 #future=${false}107 # sidechan=${false} 108 future=${false} 107 109 108 110 runCFA=${true} … … 164 166 165 167 run_future() { 166 for p in ${num_threads} ; do 167 pre_args=$(( ${p} - 1 )) 168 affinity ${p} 169 preprint="${p}\t" 170 repeat_command taskset -c ${taskset} ./a.${hostname} ${pre_args} ${post_args} 171 done 168 affinity 2 169 preprint="2\t" 170 repeat_command taskset -c ${taskset} ./a.${hostname} ${post_args} 172 171 } 173 172 … … 247 246 ${cfa} ${cfa_flags} sidechan.cfa -o a.${hostname} > /dev/null 2>&1 248 247 run_side_chan 249 rm a.${hostname}248 # rm a.${hostname} 250 249 cd - > /dev/null 251 250 fi # done CFA … … 262 261 263 262 if [ ${future} -eq ${true} ] ; then 264 echo "future: "265 263 post_args=${future_time} 266 if [ ${runCFA} -eq ${true} ] ; then 267 cd cfa # CFA RUN 268 print_header 'CFA' 269 ${cfa} ${cfa_flags} future.cfa -o a.${hostname} > /dev/null 2>&1 270 run_future 271 rm a.${hostname} 272 cd - > /dev/null 273 fi # done CFA 274 275 if [ ${runUCPP} -eq ${true} ] ; then 276 cd ucpp 277 print_header 'uC++' 278 ${UCPP} ${UCPPflags} future.cc -o a.${hostname} > /dev/null 2>&1 279 run_future 280 rm a.${hostname} 281 cd - > /dev/null 282 fi # done Go 283 fi 284 264 for i in ${!future_flags[@]}; do 265 echo 'future '${future_names[$i]}':' 266 if [ ${runCFA} -eq ${true} ] ; then 267 cd cfa # CFA RUN 268 print_header 'CFA' 269 ${cfa} ${cfa_flags} ${future_flags[$i]} future.cfa -o a.${hostname} > /dev/null 2>&1 270 run_future 271 rm a.${hostname} 272 cd - > /dev/null 273 fi # done CFA 274 275 if [ ${runUCPP} -eq ${true} ] ; then 276 cd ucpp 277 print_header 'uC++' 278 ${UCPP} ${UCPPflags} ${future_flags[$i]} future.cc -o a.${hostname} > /dev/null 2>&1 279 run_future 280 rm a.${hostname} 281 cd - > /dev/null 282 fi # done Go 283 done 284 fi 285
Note:
See TracChangeset
for help on using the changeset viewer.