From 206c1254367b9f5467da8e136bae0fdcd4185e37 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Michal=20Voc=C5=AF?= Date: Thu, 18 May 2006 14:07:55 +0000 Subject: [PATCH] * more bones to skeleton --- org.glite.lb.common/src/perftest_common.sh | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/org.glite.lb.common/src/perftest_common.sh b/org.glite.lb.common/src/perftest_common.sh index 208e821..88fa943 100644 --- a/org.glite.lb.common/src/perftest_common.sh +++ b/org.glite.lb.common/src/perftest_common.sh @@ -4,7 +4,16 @@ run_test() { for file in small_job big_job small_dag big_dag do - perftest_logjobs --file=$file --dst=$dest --num=$num_jobs + perftest_logjobs --test=$test_name --file=$file --dst=$dest --num=$num_jobs done } +print_results() +{ + total=`echo "scale=9; $PERFTEST_END_TIMESTAMP - $PERFTEST_BEGIN_TIMESTAMP" | bc` + echo -e "Total time for PERFTEST_NUM_JOBS: \t$total" + echo -e -n "Event throughput: \t" + echo "scale=9; $PERFTEST_NUM_JOBS * $PERFTEST_JOB_SIZE / $total" |bc + echo -e -n "Job throughput: \t" + echo "scale=9; $PERFTEST_NUM_JOBS / $total" |bc +} \ No newline at end of file -- 1.8.2.3