]>
git.proxmox.com Git - ceph.git/blob - ceph/src/boost/tools/make-cputime-page.pl
3 # Copyright 2004 Aleksey Gurtovoy
4 # Copyright 2001 Jens Maurer
5 # Distributed under the Boost Software License, Version 1.0.
6 # (See accompanying file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt)
16 print "<html>\n<head>\n<title>\nCompile Times</title>\n</head>\n\n";
17 print "<body bgcolor=\"#ffffff\" text=\"#000000\">\n";
18 print "<img border=\"0\" src=\"boost.png\" width=\"277\" height=\"86\">";
20 print "Compile time for each successful regression test in seconds.\n";
23 print "<table border=\"1\">\n";
24 print "<tr><td>Test</td>\n";
27 if(/^\*\*\* (.*) \*\*\*$/) {
29 $first = ($first == 0 ?
0 : $first-1);
31 print "</tr>\n\n<tr align=right>\n<td align=left><a href=\"http://www.boost.org/$filename\">$filename</a></td
>\n";
33 } elsif(/^\*\* (.*)/) {
36 print "<td
>$compiler</td
>\n";
40 } elsif($ct && /^CPU time: ([.0-9]*) s user, ([.0-9]*) s system/) {
42 } elsif($ct && /^Pass$/) {
43 printf "<td
>%.02f</td
>\n", $time;
45 } elsif($ct && /^Fail$/) {
53 print "</body>\n</html
>\n";