diff options
author | Romain d'Alverny <rda@mageia.org> | 2011-04-18 21:37:23 +0000 |
---|---|---|
committer | Romain d'Alverny <rda@mageia.org> | 2011-04-18 21:37:23 +0000 |
commit | ca672a81c5d0da41e43a6bd5704c0e45e76eec2e (patch) | |
tree | d4a756ea48071a9bcd0eb7f55a6505ebd22f1c06 /index.php | |
parent | 8e34085d5c78887e947d76aa263c84b1bf830388 (diff) | |
download | pkgsubmit-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.php | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -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>'; |