diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2012-07-07 00:20:31 -0700 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2012-07-07 00:20:31 -0700 |
commit | f4867f337767c55ebe1e9cc047be61c2798618bf (patch) | |
tree | 55db53536041847c50a163d4dabce10d18245b48 /src/proof/pdr | |
parent | 5008b1a4f3052402c47d954756e750db55743c11 (diff) | |
download | abc-f4867f337767c55ebe1e9cc047be61c2798618bf.tar.gz abc-f4867f337767c55ebe1e9cc047be61c2798618bf.tar.bz2 abc-f4867f337767c55ebe1e9cc047be61c2798618bf.zip |
Fixing time printouts in 'pdr'.
Diffstat (limited to 'src/proof/pdr')
-rw-r--r-- | src/proof/pdr/pdrCnf.c | 4 | ||||
-rw-r--r-- | src/proof/pdr/pdrInt.h | 22 |
2 files changed, 13 insertions, 13 deletions
diff --git a/src/proof/pdr/pdrCnf.c b/src/proof/pdr/pdrCnf.c index 66bea130..d9137592 100644 --- a/src/proof/pdr/pdrCnf.c +++ b/src/proof/pdr/pdrCnf.c @@ -278,7 +278,7 @@ static inline sat_solver * Pdr_ManNewSolver1( sat_solver * pSat, Pdr_Man_t * p, Vec_IntWriteEntry( p->vVar2Reg, Pdr_ObjSatVar(p, k, pObj), i ); } pSat = (sat_solver *)Cnf_DataWriteIntoSolverInt( pSat, p->pCnf1, 1, fInit ); - sat_solver_set_runtime_limit( pSat, p->timeToStop ); + sat_solver_set_runtime_limit( pSat, (int)p->timeToStop ); return pSat; } @@ -323,7 +323,7 @@ static inline sat_solver * Pdr_ManNewSolver2( sat_solver * pSat, Pdr_Man_t * p, // start the SAT solver // pSat = sat_solver_new(); sat_solver_setnvars( pSat, 500 ); - sat_solver_set_runtime_limit( pSat, p->timeToStop ); + sat_solver_set_runtime_limit( pSat, (int)p->timeToStop ); return pSat; } diff --git a/src/proof/pdr/pdrInt.h b/src/proof/pdr/pdrInt.h index 0a90f9d1..075484bf 100644 --- a/src/proof/pdr/pdrInt.h +++ b/src/proof/pdr/pdrInt.h @@ -111,18 +111,18 @@ struct Pdr_Man_t_ int nQueMax; int nQueLim; // runtime - int timeStart; - int timeToStop; + ABC_INT64_T timeStart; + ABC_INT64_T timeToStop; // time stats - int tSat; - int tSatSat; - int tSatUnsat; - int tGeneral; - int tPush; - int tTsim; - int tContain; - int tCnf; - int tTotal; + ABC_INT64_T tSat; + ABC_INT64_T tSatSat; + ABC_INT64_T tSatUnsat; + ABC_INT64_T tGeneral; + ABC_INT64_T tPush; + ABC_INT64_T tTsim; + ABC_INT64_T tContain; + ABC_INT64_T tCnf; + ABC_INT64_T tTotal; }; //////////////////////////////////////////////////////////////////////// |