Changeset 4eebbcc
- Timestamp:
- Mar 24, 2023, 4:57:03 PM (20 months ago)
- Branches:
- ADT, ast-experimental, master
- Children:
- 9319a23, e10714a
- Parents:
- 2f6a9391
- Location:
- doc/theses/colby_parsons_MMAth/benchmarks/mutex_stmt
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
doc/theses/colby_parsons_MMAth/benchmarks/mutex_stmt/cfa/rand.cfa
r2f6a9391 r4eebbcc 65 65 uint64_t count = 0; 66 66 while (true) { 67 locks( my_arr + (count % num_gen) * num_locks ); 67 locks( my_arr + (count % num_gen) * num_locks ); // go to start of next sequence of locks 68 68 count++; 69 69 if (done) break; -
doc/theses/colby_parsons_MMAth/benchmarks/mutex_stmt/plotData.py
r2f6a9391 r4eebbcc 101 101 plt.errorbar( procs, arr, [bars[idx][0], bars[idx][1]], capsize=2, marker='o' ) 102 102 plt.yscale("log") 103 ax.get_yaxis().set_major_formatter(ticks.ScalarFormatter())104 103 plt.xticks(procs) 105 104 ax.legend(names) 106 # fig.savefig("plots/" + machineName + name + "_" + str(currLocks) + ".png")107 plt.savefig("plots/" + machineName + name + "_" + str(currLocks) + ".pgf")105 # fig.savefig("plots/" + machineName + "Aggregate_Lock_" + str(currLocks) + ".png") 106 plt.savefig("plots/" + machineName + "Aggregate_Lock_" + str(currLocks) + ".pgf") 108 107 fig.clf() 109 108 -
doc/theses/colby_parsons_MMAth/benchmarks/mutex_stmt/run
r2f6a9391 r4eebbcc 157 157 echo "" 158 158 159 if [ ${runCFA} -eq ${true} ] ; then 160 if [ ${order} -eq ${true} ] ; then 161 echo -n 'CFA-order ' 162 fi 163 if [ ${baseline} -eq ${true} ] ; then 164 echo -n 'CFA-baseline ' 165 fi 166 if [ ${rand} -eq ${true} ] ; then 167 echo -n 'CFA-rand ' 168 fi 169 fi # done CFA 170 if [ ${runCPP} -eq ${true} ] ; then 171 if [ ${order} -eq ${true} ] ; then 172 echo -n 'CPP-order ' 173 fi 174 if [ ${baseline} -eq ${true} ] ; then 175 echo -n 'CPP-baseline ' 176 fi 177 if [ ${rand} -eq ${true} ] ; then 178 echo -n 'CPP-rand ' 179 fi 180 fi # done CPP 159 if [ ${runCFA} -eq ${true} ] && [ ${order} -eq ${true} ]; then 160 echo -n 'CFA-order ' 161 fi 162 if [ ${runCPP} -eq ${true} ] && [ ${order} -eq ${true} ]; then 163 echo -n 'CPP-order ' 164 fi 165 if [ ${runCFA} -eq ${true} ] && [ ${baseline} -eq ${true} ]; then 166 echo -n 'CFA-baseline ' 167 fi 168 if [ ${runCPP} -eq ${true} ] && [ ${baseline} -eq ${true} ]; then 169 echo -n 'CPP-baseline ' 170 fi 171 if [ ${runCFA} -eq ${true} ] && [ ${rand} -eq ${true} ]; then 172 echo -n 'CFA-rand ' 173 fi 174 if [ ${runCPP} -eq ${true} ] && [ ${rand} -eq ${true} ]; then 175 echo -n 'CPP-rand ' 176 fi 181 177 echo "" 182 178 … … 192 188 193 189 run_order() { 194 echo "locks: "${1}195 190 post_args=${1} 196 191 … … 217 212 218 213 for i in ${!locks[@]}; do 214 echo "locks: "${locks[$i]} 219 215 if [ ${order} -eq ${true} ] ; then 220 216 run_order ${locks[$i]} ${lock_flags[$i]} 'order'
Note: See TracChangeset
for help on using the changeset viewer.