diff --git a/runtime/experiments/deadline/client.sh b/runtime/experiments/deadline/client.sh index d1acfb1..76e4a5f 100755 --- a/runtime/experiments/deadline/client.sh +++ b/runtime/experiments/deadline/client.sh @@ -57,7 +57,7 @@ for ((i = 1; i < 2; i++)); do # Calculate Success Rate for csv awk -F, ' $7 == 200 && ($1 * 1000) <= '"$deadline"' {ok++} - END{printf "'"$payload"',%3.5f%\n", (ok / (NR - 1) * 100)} + END{printf "'"$payload"',%3.5f\n", (ok / (NR - 1) * 100)} ' < "$results_directory/$payload.csv" >> "$results_directory/success.csv" # Filter on 200s, convery from s to ms, and sort diff --git a/runtime/experiments/deadline/client2.sh b/runtime/experiments/deadline/client2.sh index 2d9ca11..0dd9f65 100755 --- a/runtime/experiments/deadline/client2.sh +++ b/runtime/experiments/deadline/client2.sh @@ -60,7 +60,7 @@ for ((i = 0; i < 2; i++)); do awk -F, ' $7 == 200 {denom++} $7 == 200 && ($1 * 1000) <= '"$deadline"' {ok++} - END{printf "'"$payload"',%3.5f%\n", (ok / denom * 100)} + END{printf "'"$payload"',%3.5f\n", (ok / denom * 100)} ' < "$results_directory/$payload.csv" >> "$results_directory/success.csv" # Filter on 200s, convery from s to ms, and sort diff --git a/runtime/experiments/deadline/client3.sh b/runtime/experiments/deadline/client3.sh index 10e186c..e802e95 100755 --- a/runtime/experiments/deadline/client3.sh +++ b/runtime/experiments/deadline/client3.sh @@ -58,7 +58,7 @@ for ((i = 0; i < 1; i++)); do awk -F, ' $7 == 200 {denom++} $7 == 200 && ($1 * 1000) <= '"$deadline"' {ok++} - END{printf "'"$payload"',%3.5f%\n", (ok / denom * 100)} + END{printf "'"$payload"',%3.5%\n", (ok / denom * 100)} ' < "$results_directory/$payload.csv" >> "$results_directory/success.csv" # Filter on 200s, convery from s to ms, and sort diff --git a/runtime/experiments/deadline/fix_calcs.sh b/runtime/experiments/deadline/fix_calcs.sh index 7d8d5eb..c70ecaf 100755 --- a/runtime/experiments/deadline/fix_calcs.sh +++ b/runtime/experiments/deadline/fix_calcs.sh @@ -28,7 +28,7 @@ for ((i = 0; i < 2; i++)); do # Calculate Success Rate for csv awk -F, ' $7 == 200 && ($1 * 1000) <= '"$deadline"' {ok++} - END{printf "'"$payload"',%3.5f%\n", (ok / (NR - 1) * 100)} + END{printf "'"$payload"',%3.5f\n", (ok / (NR - 1) * 100)} ' < "$results_directory/$payload.csv" >> "$results_directory/success.csv" # Filter on 200s, convery from s to ms, and sort diff --git a/runtime/experiments/deadline/fix_calcs2.sh b/runtime/experiments/deadline/fix_calcs2.sh index adff3c2..3a79b00 100755 --- a/runtime/experiments/deadline/fix_calcs2.sh +++ b/runtime/experiments/deadline/fix_calcs2.sh @@ -62,7 +62,7 @@ for ((i = 0; i < 2; i++)); do awk -F, ' $7 == 200 {denom++} $7 == 200 && ($1 * 1000) <= '"$deadline"' {ok++} - END{printf "'"$payload"',%3.5f%\n", (ok / denom * 100)} + END{printf "'"$payload"',%3.5f\n", (ok / denom * 100)} ' < "$results_directory/$payload.csv" >> "$results_directory/success.csv" # Filter on 200s, convery from s to ms, and sort diff --git a/runtime/experiments/deadline/run_relative.sh b/runtime/experiments/deadline/run_relative.sh index 0acc690..e286b55 100755 --- a/runtime/experiments/deadline/run_relative.sh +++ b/runtime/experiments/deadline/run_relative.sh @@ -74,7 +74,7 @@ for scheduler in ${schedulers[*]}; do # Calculate Success Rate for csv awk -F, ' $7 == 200 && ($1 * 1000) <= '"$deadline"' {ok++} - END{printf "'"$payload"',%3.5f%\n", (ok / (NR - 1) * 100)} + END{printf "'"$payload"',%3.5f\n", (ok / (NR - 1) * 100)} ' < "$results_directory/$payload.csv" >> "$results_directory/success.csv" # Filter on 200s, convery from s to ms, and sort diff --git a/runtime/experiments/preemption/client.sh b/runtime/experiments/preemption/client.sh index e0b7584..da778b2 100755 --- a/runtime/experiments/preemption/client.sh +++ b/runtime/experiments/preemption/client.sh @@ -62,7 +62,7 @@ for payload in ${payloads[*]}; do # Calculate Success Rate for csv awk -F, ' $7 == 200 {ok++} - END{printf "'"$payload"',%3.5f%\n", (ok / (NR - 1) * 100)} + END{printf "'"$payload"',%3.5f\n", (ok / (NR - 1) * 100)} ' < "$results_directory/$payload.csv" >> "$results_directory/success.csv" # Filter on 200s, convery from s to ms, and sort diff --git a/runtime/experiments/preemption/fix_results.sh b/runtime/experiments/preemption/fix_results.sh index 80c6b1f..6eb4568 100755 --- a/runtime/experiments/preemption/fix_results.sh +++ b/runtime/experiments/preemption/fix_results.sh @@ -28,7 +28,7 @@ for payload in ${payloads[*]}; do # Calculate Success Rate for csv awk -F, ' $7 == 200 {ok++} - END{printf "'"$payload"',%3.5f%\n", (ok / (NR - 1) * 100)} + END{printf "'"$payload"',%3.5f\n", (ok / (NR - 1) * 100)} ' < "$results_directory/$payload.csv" >> "$results_directory/success.csv" # Filter on 200s, convery from s to ms, and sort diff --git a/runtime/experiments/preemption/run_relative.sh b/runtime/experiments/preemption/run_relative.sh index 0acc690..e286b55 100755 --- a/runtime/experiments/preemption/run_relative.sh +++ b/runtime/experiments/preemption/run_relative.sh @@ -74,7 +74,7 @@ for scheduler in ${schedulers[*]}; do # Calculate Success Rate for csv awk -F, ' $7 == 200 && ($1 * 1000) <= '"$deadline"' {ok++} - END{printf "'"$payload"',%3.5f%\n", (ok / (NR - 1) * 100)} + END{printf "'"$payload"',%3.5f\n", (ok / (NR - 1) * 100)} ' < "$results_directory/$payload.csv" >> "$results_directory/success.csv" # Filter on 200s, convery from s to ms, and sort