Added 'gap timeout' to bmc3 and sim3.

This commit is contained in:
Alan Mishchenko 2013-02-16 13:33:43 -08:00
parent fd0ff0171e
commit 4dc7eb6f73
2 changed files with 2 additions and 0 deletions

View File

@ -975,6 +975,7 @@ int Ssw_RarSimulate( Aig_Man_t * pAig, int nFrames, int nWords, int nBinSize, in
p->vInits = Vec_IntStart( Aig_ManRegNum(pAig) * nWords );
// perform simulation rounds
timeLastSolved = clock();
for ( r = 0; !nRounds || (nNumRestart * nRestart + r < nRounds); r++ )
{
clk = clock();

View File

@ -1349,6 +1349,7 @@ int Saig_ManBmcScalable( Aig_Man_t * pAig, Saig_ParBmc_t * pPars )
sat_solver_set_runtime_limit( p->pSat, nTimeToStop );
// perform frames
Aig_ManRandom( 1 );
pPars->timeLastSolved = clock();
for ( f = 0; f < pPars->nFramesMax; f++ )
{
// stop BMC after exploring all reachable states