Skip to content

Commit

Permalink
collect hardware info
Browse files Browse the repository at this point in the history
  • Loading branch information
sousinha97 committed Dec 5, 2023
1 parent c1f397a commit 3e366ef
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pyperf/pyperf_run
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,10 @@ else
fi
fi

# Gather hardware information
${curdir}/test_tools/gather_data ${curdir}


if [ ! -f "/tmp/pyperf.out" ]; then
command="${0} $@"
echo $command
Expand Down Expand Up @@ -327,6 +331,7 @@ else
fi
cp /tmp/pyperf.out ${RESULTSDIR}
cp ${curdir}/meta_data*.yml ${RESULTSDIR}
${curdir}/test_tools/move_data $curdir ${RESULTSDIR}
rm -f results_pbench.tar
working_dir=`ls -rtd /tmp/results*${test_name}* | grep -v tar | tail -1`
find $working_dir -type f | tar --transform 's/.*\///g' -cf results_pbench.tar --files-from=/dev/stdin
Expand Down

0 comments on commit 3e366ef

Please sign in to comment.