Explorar o código

Take into account STARPU_BENCH_DIR for the graph output file

Samuel Thibault %!s(int64=8) %!d(string=hai) anos
pai
achega
c4e5f7866b
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  1. 3 1
      tests/microbenchs/tasks_size_overhead_sched.sh

+ 3 - 1
tests/microbenchs/tasks_size_overhead_sched.sh

@@ -19,6 +19,8 @@
 ROOT=${0%.sh}
 ROOT=${ROOT%_sched}
 $ROOT "$@" > tasks_size_overhead.output
+DIR=
+[ -z "STARPU_BENCH_DIR" ] || DIR="$STARPU_BENCH_DIR/"
 export TERMINAL=png
-export OUTFILE=tasks_size_overhead_${STARPU_SCHED}.png
+export OUTFILE=${DIR}tasks_size_overhead_${STARPU_SCHED}.png
 $ROOT.gp