diff options
author | stobies <unknown> | 2012-01-11 09:55:06 +0100 |
---|---|---|
committer | stobies <unknown> | 2012-01-11 09:55:06 +0100 |
commit | bf2bd08a7ebecfdec77e5bf64d1a4dda7973bcc6 (patch) | |
tree | 2635ee1d9e9984ad9c45211c70ea0b6072004b4e /Source/Provers/Z3/ProverInterface.cs | |
parent | 416d28d0927ef49e60b3ac964782e175b7805892 (diff) |
Use DateTime.UtcNow instead of DateTime.Now
Diffstat (limited to 'Source/Provers/Z3/ProverInterface.cs')
-rw-r--r-- | Source/Provers/Z3/ProverInterface.cs | 4 |
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;
|