Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
abc
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
abc
Commits
f4867f33
Commit
f4867f33
authored
Jul 07, 2012
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixing time printouts in 'pdr'.
parent
5008b1a4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
13 deletions
+13
-13
src/proof/pdr/pdrCnf.c
+2
-2
src/proof/pdr/pdrInt.h
+11
-11
No files found.
src/proof/pdr/pdrCnf.c
View file @
f4867f33
...
@@ -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
;
}
}
...
...
src/proof/pdr/pdrInt.h
View file @
f4867f33
...
@@ -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
;
};
};
////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment