daily pastebin goal
53%
SHARE
TWEET

Untitled

a guest Feb 13th, 2018 67 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
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top