diff --git a/run_all_experiments.sh b/run_all_experiments.sh index ade97da..1bcce96 100644 --- a/run_all_experiments.sh +++ b/run_all_experiments.sh @@ -156,9 +156,16 @@ compile_thread_stress() { "$ROOT_DIR/thread_stress_test/thread_stress.c" } +compile_thread_recursive() { + log "Compiling thread_recursive" + gcc -O2 -pthread -o "$ROOT_DIR/thread_recursive_scaling/thread_recursive" \ + "$ROOT_DIR/thread_recursive_scaling/thread_recursive.c" -lm +} + compile_creation_time compile_fork_bomb compile_thread_stress +compile_thread_recursive # Defaults (override by env vars) ALLOW_DANGEROUS=${ALLOW_DANGEROUS:-0} @@ -196,7 +203,7 @@ fi run_with_sampling \ "thread_recursive_scaling" \ - "cd '$ROOT_DIR/thread_recursive_scaling' && ./run_thread_recursive.sh 6 6 6" \ + "cd '$ROOT_DIR/thread_recursive_scaling' && exec ./thread_recursive -b 6 -d 6 -s 6" \ "$OUT_DIR/thread_recursive_scaling.csv" \ 0