From c2c8bf70ac6b684a53f9bcfc551919bffc3260a9 Mon Sep 17 00:00:00 2001 From: Romain d'Alverny Date: Mon, 18 Apr 2011 21:18:46 +0000 Subject: buildtime total+avg --- index.php | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'index.php') diff --git a/index.php b/index.php index 768cbc2..ba34e58 100644 --- a/index.php +++ b/index.php @@ -393,11 +393,13 @@ if ($total > 0) { $buildtime_avg += $tmp[0] * $count; $buildtime_cnt += $count; } - $buildtime_avg = round($buildtime_avg / $buildtime_cnt, 1); - $s .= sprintf(' - ', - $buildtime_avg); + $s .= '
Build time (average: %s)
DurationPack. nb.
+ '; + + $s .= sprintf('', + $buildtime_avg, round($buildtime_avg / $buildtime_cnt, 1)); + $s .= $bts; $s .= '
Build time
DurationPack. nb.
Total time%s
Average%s
'; -- cgit v1.2.1