[llvm-commits] CVS: llvm-test/TEST.nightly.report
Chris Lattner
lattner at cs.uiuc.edu
Sun Nov 7 14:13:43 PST 2004
Changes in directory llvm-test:
TEST.nightly.report updated: 1.28 -> 1.29
---
Log message:
Remove extra zeros at the end of times.
---
Diffs of the changes: (+3 -2)
Index: llvm-test/TEST.nightly.report
diff -u llvm-test/TEST.nightly.report:1.28 llvm-test/TEST.nightly.report:1.29
--- llvm-test/TEST.nightly.report:1.28 Sat Nov 6 15:34:36 2004
+++ llvm-test/TEST.nightly.report Sun Nov 7 16:13:29 2004
@@ -14,9 +14,10 @@
sub FormatTime {
my $Time = shift;
if ($Time =~ m/([0-9]+)[m:]([0-9.]+)/) {
- $Time = sprintf("%7.3f", $1*60.0+$2);
+ return sprintf("%7.3f", $1*60.0+$2);
}
- return $Time;
+
+ return sprintf("%7.2f", $Time);
}
sub GCCCBERatio {
More information about the llvm-commits
mailing list