generate_raw_data_heap.sh 416 B

123456789101112131415161718
  1. #!/bin/bash
  2. # Usage: ./generate_raw_data_heap.sh [niters]
  3. nitrs=1
  4. if [ "$1" != "" ]; then
  5. nitrs="$1"
  6. fi
  7. cd ..
  8. mkdir -p repro/data
  9. for itr in $(seq 1 $nitrs); do
  10. for size in 16 18 20 22 24 26; do
  11. ops=$((size * 6))
  12. now=`date`; echo "$now: Running heap extract on heapsize of 2^${size} ..."
  13. Docker/run-experiment ${size} ${ops} >> repro/data/log_${size}_1_heap.out
  14. done
  15. done