From: Michal Voců Date: Thu, 18 May 2006 14:07:55 +0000 (+0000) Subject: * more bones to skeleton X-Git-Tag: gridsite-core_R_1_1_19~19 X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=206c1254367b9f5467da8e136bae0fdcd4185e37;p=jra1mw.git * more bones to skeleton --- 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