daily pastebin goal
34%
SHARE
TWEET

Untitled

a guest Feb 13th, 2018 66 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/bin/bash
  2.  
  3. for i in {1..16}
  4. do
  5.     TOTAL=0
  6.     for trial in {1..15}
  7.     do
  8.         RESULT=$(./prog --workers $i --iterations 20 --clusters 16 --input random-n65536-d32-c16.txt --threshold 0.0000001f)
  9.         TOTAL=$(echo "$TOTAL $RESULT" | awk '{print $1 + $2}')
  10.     done
  11.     TOTAL=$(echo "$TOTAL 15" | awk '{print $1/$2}')
  12.     echo $TOTAL
  13. done
RAW Paste Data
Top