Commit f4867f33 by Alan Mishchenko

Fixing time printouts in 'pdr'.

parent 5008b1a4
...@@ -278,7 +278,7 @@ static inline sat_solver * Pdr_ManNewSolver1( sat_solver * pSat, Pdr_Man_t * p, ...@@ -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 ); Vec_IntWriteEntry( p->vVar2Reg, Pdr_ObjSatVar(p, k, pObj), i );
} }
pSat = (sat_solver *)Cnf_DataWriteIntoSolverInt( pSat, p->pCnf1, 1, fInit ); 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; return pSat;
} }
...@@ -323,7 +323,7 @@ static inline sat_solver * Pdr_ManNewSolver2( sat_solver * pSat, Pdr_Man_t * p, ...@@ -323,7 +323,7 @@ static inline sat_solver * Pdr_ManNewSolver2( sat_solver * pSat, Pdr_Man_t * p,
// start the SAT solver // start the SAT solver
// pSat = sat_solver_new(); // pSat = sat_solver_new();
sat_solver_setnvars( pSat, 500 ); sat_solver_setnvars( pSat, 500 );
sat_solver_set_runtime_limit( pSat, p->timeToStop ); sat_solver_set_runtime_limit( pSat, (int)p->timeToStop );
return pSat; return pSat;
} }
......
...@@ -111,18 +111,18 @@ struct Pdr_Man_t_ ...@@ -111,18 +111,18 @@ struct Pdr_Man_t_
int nQueMax; int nQueMax;
int nQueLim; int nQueLim;
// runtime // runtime
int timeStart; ABC_INT64_T timeStart;
int timeToStop; ABC_INT64_T timeToStop;
// time stats // time stats
int tSat; ABC_INT64_T tSat;
int tSatSat; ABC_INT64_T tSatSat;
int tSatUnsat; ABC_INT64_T tSatUnsat;
int tGeneral; ABC_INT64_T tGeneral;
int tPush; ABC_INT64_T tPush;
int tTsim; ABC_INT64_T tTsim;
int tContain; ABC_INT64_T tContain;
int tCnf; ABC_INT64_T tCnf;
int tTotal; ABC_INT64_T tTotal;
}; };
//////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment