Skip to content

Commit 3e366ef

Browse files
committed
collect hardware info
1 parent c1f397a commit 3e366ef

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

pyperf/pyperf_run

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,10 @@ else
159159
fi
160160
fi
161161

162+
# Gather hardware information
163+
${curdir}/test_tools/gather_data ${curdir}
164+
165+
162166
if [ ! -f "/tmp/pyperf.out" ]; then
163167
command="${0} $@"
164168
echo $command
@@ -327,6 +331,7 @@ else
327331
fi
328332
cp /tmp/pyperf.out ${RESULTSDIR}
329333
cp ${curdir}/meta_data*.yml ${RESULTSDIR}
334+
${curdir}/test_tools/move_data $curdir ${RESULTSDIR}
330335
rm -f results_pbench.tar
331336
working_dir=`ls -rtd /tmp/results*${test_name}* | grep -v tar | tail -1`
332337
find $working_dir -type f | tar --transform 's/.*\///g' -cf results_pbench.tar --files-from=/dev/stdin

0 commit comments

Comments
 (0)