Add b6_heat_tampi_ompv bench test

This commit is contained in:
Rodrigo Arias 2025-04-15 16:21:26 +02:00 committed by Rodrigo Arias
parent 62a1ff9b73
commit 3018cdf54e
2 changed files with 22 additions and 0 deletions

View File

@ -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)

View 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