Changeset f77f648d
- Timestamp:
- May 29, 2023, 10:41:11 AM (15 months ago)
- Branches:
- ast-experimental, master
- Children:
- efe89894
- Parents:
- 4d5c855
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
doc/theses/colby_parsons_MMAth/benchmarks/waituntil/run
r4d5c855 rf77f648d 94 94 95 95 chan_size='10' 96 future_time='10' 96 97 97 98 # toggle benchmarks … … 99 100 contend=${true} 100 101 sidechan=${true} 101 # spin=${false} 102 # contend=${false} 103 # sidechan=${false} 102 future=${true} 103 spin=${false} 104 contend=${false} 105 sidechan=${false} 106 # future=${false} 104 107 105 108 runCFA=${true} 106 109 runGO=${true} 110 runUCPP=${true} 107 111 # runCFA=${false} 108 # runGO=${false} 112 runGO=${false} 113 # runUCPP=${false} 109 114 110 115 cfa=~/cfa-cc/driver/cfa … … 158 163 } 159 164 165 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 172 } 173 160 174 arch # get hostname 161 175 … … 177 191 # cfa flags 178 192 cfa_flags='-quiet -O3 -nodebug -DNDEBUG' 193 194 # UCPP flags 195 UCPPflags="-quiet -g -Wall -Wextra -O3 -nodebug -DNDEBUG -multi" 196 UCPP=~/ucpp/u++-7.0.0/bin/u++ 179 197 180 198 # run the benchmarks … … 243 261 fi 244 262 263 if [ ${future} -eq ${true} ] ; then 264 echo "future: " 265 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
Note: See TracChangeset
for help on using the changeset viewer.