First two arguments of print_runtime_ratio are now avg1 and stddev1. These are no longer taken from the environment.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8250 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/exp-drd/scripts/measurement-functions b/exp-drd/scripts/measurement-functions
index 0264da6..59536b7 100644
--- a/exp-drd/scripts/measurement-functions
+++ b/exp-drd/scripts/measurement-functions
@@ -56,7 +56,10 @@
## Print the average runtime of the command passed in $1 .. ${$#} and the ratio
# of the runtime to ${avg1} +/- ${stddev1}.
function print_runtime_ratio {
- local tmp
+ local tmp avg1="$1" avg2="$2"
+
+ shift
+ shift
tmp="/tmp/test-timing.$$"
rm -f "${tmp}"