# ======================================== # ============= EXPERIMENTATION 5 ======== # Compute the quality by the threshold with multicore1 # parameters NT=8 NP=8 TCU=50 NHI=50 NME=25 coef=2 R=1 TQ=1 # copy from eval6 echo "===> create data" # copy amc fil with different threshold for i in 50 ; do for TQ in 1 2 3 4; do # iteration for ((iter=1; iter<=1000; ++iter)); do if (( iter < 10 )) then var='0'$iter # change the multicore protocol sed -i "s/JOB_LEVEL_MIGRATION_TYPE/TIME_UNIT_MIGRATION_TYPE/" ./generated/"anytime_coef_${i}_threshold_${TQ}_iter${var}.xmlv3" # change the multicore protocol sed -i "s/JOB_LEVEL_MIGRATION_TYPE/TIME_UNIT_MIGRATION_TYPE/" ./generated/"amc_coef_${i}_threshold_${TQ}_iter${var}.xmlv3" else # change the multicore protocol sed -i "s/JOB_LEVEL_MIGRATION_TYPE/TIME_UNIT_MIGRATION_TYPE/" ./generated/"amc_coef_${i}_threshold_${TQ}_iter${var}.xmlv3" # change the multicore protocol sed -i "s/JOB_LEVEL_MIGRATION_TYPE/TIME_UNIT_MIGRATION_TYPE/" ./generated/"anytime_coef_${i}_threshold_${TQ}_iter${var}.xmlv3" fi done done done