summaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
authorRomain d'Alverny <rda@mageia.org>2011-04-18 21:37:23 +0000
committerRomain d'Alverny <rda@mageia.org>2011-04-18 21:37:23 +0000
commitca672a81c5d0da41e43a6bd5704c0e45e76eec2e (patch)
treed4a756ea48071a9bcd0eb7f55a6505ebd22f1c06 /index.php
parent8e34085d5c78887e947d76aa263c84b1bf830388 (diff)
downloadpkgsubmit-ca672a81c5d0da41e43a6bd5704c0e45e76eec2e.tar
pkgsubmit-ca672a81c5d0da41e43a6bd5704c0e45e76eec2e.tar.gz
pkgsubmit-ca672a81c5d0da41e43a6bd5704c0e45e76eec2e.tar.bz2
pkgsubmit-ca672a81c5d0da41e43a6bd5704c0e45e76eec2e.tar.xz
pkgsubmit-ca672a81c5d0da41e43a6bd5704c0e45e76eec2e.zip
buildtime stats update
Diffstat (limited to 'index.php')
-rw-r--r--index.php10
1 files changed, 7 insertions, 3 deletions
diff --git a/index.php b/index.php
index d25ce93..163afe0 100644
--- a/index.php
+++ b/index.php
@@ -398,11 +398,15 @@ if ($total > 0) {
$s .= '<table style="width: 100%;"><caption>Build time</caption>
<tr><th title="Build time">Duration</th><th title="Packages number">Pack. nb.</th></tr>';
- $s .= sprintf('<tr><td>Total time</td><td>%s</td></tr><tr><td>Average</td><td>%s</td></tr>',
- $buildtime_avg, round($buildtime_avg / $buildtime_cnt, 1));
+ $s .= sprintf('<tr><td>Total time</td><td>%s</td></tr>
+ <tr><td>Average</td><td>%s</td></tr>
+ <tr><td>Builds count</td><td>%s</td></tr>',
+ $buildtime_avg,
+ round($buildtime_avg / $buildtime_cnt, 1),
+ $buildtime_cnt);
$s .= $bts;
- $s .= '</table>';
+ $s .= '</table><span style="font-size: 85%;">Does not take build failures into account.</span>';
$s .= '</div>';