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,
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;
}
......
......@@ -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;
};
////////////////////////////////////////////////////////////////////////
......
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