summaryrefslogtreecommitdiff
path: root/Source/Provers/Z3/ProverInterface.cs
diff options
context:
space:
mode:
authorGravatar stobies <unknown>2012-01-11 09:55:06 +0100
committerGravatar stobies <unknown>2012-01-11 09:55:06 +0100
commitbf2bd08a7ebecfdec77e5bf64d1a4dda7973bcc6 (patch)
tree2635ee1d9e9984ad9c45211c70ea0b6072004b4e /Source/Provers/Z3/ProverInterface.cs
parent416d28d0927ef49e60b3ac964782e175b7805892 (diff)
Use DateTime.UtcNow instead of DateTime.Now
Diffstat (limited to 'Source/Provers/Z3/ProverInterface.cs')
-rw-r--r--Source/Provers/Z3/ProverInterface.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Provers/Z3/ProverInterface.cs b/Source/Provers/Z3/ProverInterface.cs
index 45f2d098..3718372b 100644
--- a/Source/Provers/Z3/ProverInterface.cs
+++ b/Source/Provers/Z3/ProverInterface.cs
@@ -296,7 +296,7 @@ REVERSE_IMPLIES=<bool> Encode P==>Q as Q||!P.
//Contract.Requires(expr != null);
Contract.Ensures(Contract.Result<string>() != null);
- DateTime start = DateTime.Now;
+ DateTime start = DateTime.UtcNow;
if (CommandLineOptions.Clo.Trace)
Console.Write("Linearising ... ");
@@ -349,7 +349,7 @@ REVERSE_IMPLIES=<bool> Encode P==>Q as Q||!P.
Contract.Assert(res!=null);
if (CommandLineOptions.Clo.Trace) {
- TimeSpan elapsed = DateTime.Now - start;
+ TimeSpan elapsed = DateTime.UtcNow - start;
Console.WriteLine("finished [{0} s]", elapsed.TotalSeconds);
}
return res;