generate_raw_data_heap_const_db.sh 363 B

1234567891011121314151617
  1. #!/bin/bash
  2. # Usage: ./generate_raw_data_heap_const_db.sh [niters]
  3. nitrs=1
  4. if [ "$1" != "" ]; then
  5. nitrs="$1"
  6. fi
  7. cd ..
  8. mkdir -p prac/data
  9. for itr in $(seq 1 $nitrs); do
  10. for n in 4 8 16 32; do
  11. now=`date`; echo "$now: Running $n Heap Extracts ..."
  12. ./docker/run-experiment 20 $((n*19*6)) >> "prac/data/log_20_${n}_heap.out"
  13. done
  14. done