mirror of
https://github.com/GaloisInc/cryptol.git
synced 2025-01-07 08:19:12 +03:00
Merge branch 'master' into rec-upd
This commit is contained in:
commit
1b780c21e1
@ -20,7 +20,7 @@ import Control.Monad.IO.Class
|
||||
import Control.Monad (replicateM, when, zipWithM, foldM)
|
||||
import Control.Monad.Writer (WriterT, runWriterT, tell, lift)
|
||||
import Data.List (intercalate, genericLength)
|
||||
import Data.IORef(IORef)
|
||||
import Data.IORef(IORef,writeIORef)
|
||||
import qualified Control.Exception as X
|
||||
|
||||
import qualified Data.SBV.Dynamic as SBV
|
||||
@ -176,6 +176,9 @@ satProve ProverCommand {..} =
|
||||
lPutStrLn $ "Trying proof with " ++
|
||||
intercalate ", " (map (show . SBV.name . SBV.solver) provers)
|
||||
(firstProver, timeElapsed, res) <- M.io (fn provers' e)
|
||||
-- NOTE: It would appear that the ref does not contain the elaspsed
|
||||
-- time but rahter some sort of small value, so we write it here.
|
||||
liftIO $ writeIORef pcProverStats timeElapsed
|
||||
when pcVerbose $
|
||||
lPutStrLn $ "Got result from " ++ show firstProver ++
|
||||
", time: " ++ showTDiff timeElapsed
|
||||
|
Loading…
Reference in New Issue
Block a user