Skip to content

Commit

Permalink
fix bugs for check-native-memory-usage.pl to get-native-memory-usage.pl
Browse files Browse the repository at this point in the history
  • Loading branch information
sendaoYan committed Sep 16, 2024
1 parent 0932f0f commit 54ca1b5
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -210,10 +210,10 @@ if grep -q "Unable to open socket file" *-native_memory-summary.log ; then
exit 1
fi

( set +x ; perl -w ${TESTSRC}/check-native-memory-usage.pl 25 "Code-malloc:2.6,Code-mmap:2.8,Compiler-malloc:4.6" `ls *-native_memory-summary.log | sort -n | xargs` )
( set +x ; perl -w ${TESTSRC}/get-native-memory-usage.pl 25 "Code-malloc:2.6,Code-mmap:2.8,Compiler-malloc:4.6" `ls *-native_memory-summary.log | sort -n | xargs` )
exitCode=$?
generatePlotPNG
generatePlotPNG &> generatePlotPNG.log

mkdir -p native_memory-summary ; mv *-native_memory-summary.log native_memory-summary/
( set +x ; mkdir -p native_memory-summary ; mv *-native_memory-summary.log native_memory-summary/ )

exit ${exitCode}

0 comments on commit 54ca1b5

Please sign in to comment.