summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Peter Collingbourne <peter@pcc.me.uk>2012-07-30 20:12:54 +0100
committerGravatar Peter Collingbourne <peter@pcc.me.uk>2012-07-30 20:12:54 +0100
commitdb5c7fc7eacfcdc2e9ffabfd1c0c451b0ca6561d (patch)
tree5d43d89a324df3ba19d37ac88d094c618bf493ca
parentafadf7714b65656afa55653c99b442608d93d190 (diff)
BoogieDriver: correctly display time taken by prover if >60 seconds
-rw-r--r--Source/BoogieDriver/BoogieDriver.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/BoogieDriver/BoogieDriver.cs b/Source/BoogieDriver/BoogieDriver.cs
index 114a26cf..66582173 100644
--- a/Source/BoogieDriver/BoogieDriver.cs
+++ b/Source/BoogieDriver/BoogieDriver.cs
@@ -744,7 +744,7 @@ namespace Microsoft.Boogie {
if (CommandLineOptions.Clo.Trace || CommandLineOptions.Clo.XmlSink != null) {
if (CommandLineOptions.Clo.Trace) {
int poCount = vcgen.CumulativeAssertionCount - prevAssertionCount;
- timeIndication = string.Format(" [{0} s, {1} proof obligation{2}] ", elapsed.ToString("%s\\.fff"), poCount, poCount == 1 ? "" : "s");
+ timeIndication = string.Format(" [{0:F3} s, {1} proof obligation{2}] ", elapsed.TotalSeconds, poCount, poCount == 1 ? "" : "s");
}
}