Add b6_heat_tampi_ompv bench test
This commit is contained in:
parent
62a1ff9b73
commit
3018cdf54e
@ -34,3 +34,4 @@ find_program(B6_HEAT_OMPV_PATH b6_heat_itampi_nodes_tasks REQUIRED)
|
||||
|
||||
openmp_bench_test(dummy.c NAME b6_heat_ompv DRIVER b6_heat_ompv.sh)
|
||||
openmp_bench_test(dummy.c NAME b6_heat_itampi_nodes_tasks DRIVER b6_heat_itampi_nodes_tasks.sh)
|
||||
openmp_bench_test(dummy.c NAME b6_heat_tampi_ompv DRIVER b6_heat_tampi_ompv.sh)
|
||||
|
||||
21
test/bench/openmp/b6_heat_tampi_ompv.sh
Normal file
21
test/bench/openmp/b6_heat_tampi_ompv.sh
Normal file
@ -0,0 +1,21 @@
|
||||
export NOSV_APPID=1
|
||||
export NOSV_CONFIG_OVERRIDE=instrumentation.version=ovni,ovni.level=2
|
||||
export OMP_OVNI=1
|
||||
|
||||
b6_heat_tampi_ompv -b 256 -t 4
|
||||
|
||||
ovnisort ovni
|
||||
ovnitop ovni
|
||||
ovniemu -b ovni
|
||||
|
||||
# Make sure the trace is not too big (limit at 128 MiB)
|
||||
maxsize=$((128 * 1024 * 1024))
|
||||
|
||||
for f in ovni/{cpu,thread,openmp-breakdown}.prv; do
|
||||
size=$(stat -c %s $f)
|
||||
if [ $size -lt $maxsize ]; then
|
||||
echo "$f: size ok ($size < $maxsize)"
|
||||
else
|
||||
echo "$f: too big ($size >= $maxsize)"
|
||||
fi
|
||||
done
|
||||
Loading…
x
Reference in New Issue
Block a user