diff options
Diffstat (limited to 'perf-framework/calc_avg')
-rwxr-xr-x | perf-framework/calc_avg | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/perf-framework/calc_avg b/perf-framework/calc_avg index 596554f..92f02c8 100755 --- a/perf-framework/calc_avg +++ b/perf-framework/calc_avg @@ -1,11 +1,13 @@ #!/bin/bash -ue +source gf_perf_config + egrep_patt="" num="" for run in "$@" do egrep_patt+="^`echo run$run\|`" - PERFLOG="log_repo/run$run/client/perf-test.log" + PERFLOG="$LOCAL_LOG_REPO/run$run/client/perf-test.log" if [ $run -lt 9 ] then run="0$run" @@ -26,7 +28,7 @@ done egrep_patt+="^zzz" echo "" -egrep -w "$egrep_patt" log_repo/runlog +egrep -w "$egrep_patt" $LOCAL_LOG_REPO/runlog echo "" echo "Operations " > /tmp/tmp_ops.$$ echo "-------------------------" >> /tmp/tmp_ops.$$ |