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
7bc2fb51
Commit
7bc2fb51
authored
May 18, 2013
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
SAT variable profiling.
parent
f9da2c79
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
4 deletions
+10
-4
src/base/abci/abc.c
+1
-1
src/sat/bmc/bmcBmc3.c
+9
-3
No files found.
src/base/abci/abc.c
View file @
7bc2fb51
...
...
@@ -21479,7 +21479,7 @@ usage:
Abc_Print
(
-
2
,
"
\t
-I num : the number of PIs to abstract [default = %d]
\n
"
,
pPars
->
nPisAbstract
);
Abc_Print
(
-
2
,
"
\t
-P num : the max number of learned clauses to keep (0=unused) [default = %d]
\n
"
,
pPars
->
nLearnedStart
);
Abc_Print
(
-
2
,
"
\t
-Q num : delta value for learned clause removal [default = %d]
\n
"
,
pPars
->
nLearnedDelta
);
Abc_Print
(
-
2
,
"
\t
-R num :
ratio percentage
for learned clause removal [default = %d]
\n
"
,
pPars
->
nLearnedPerce
);
Abc_Print
(
-
2
,
"
\t
-R num :
percentage to keep
for learned clause removal [default = %d]
\n
"
,
pPars
->
nLearnedPerce
);
Abc_Print
(
-
2
,
"
\t
-L file: the log file name [default = %s]
\n
"
,
pLogFileName
?
pLogFileName
:
"no logging"
);
Abc_Print
(
-
2
,
"
\t
-a : solve all outputs (do not stop when one is SAT) [default = %s]
\n
"
,
pPars
->
fSolveAll
?
"yes"
:
"no"
);
Abc_Print
(
-
2
,
"
\t
-x : toggle storing CEXes when solving all outputs [default = %s]
\n
"
,
pPars
->
fStoreCex
?
"yes"
:
"no"
);
src/sat/bmc/bmcBmc3.c
View file @
7bc2fb51
...
...
@@ -761,8 +761,14 @@ Gia_ManBmc_t * Saig_Bmc3ManStart( Aig_Man_t * pAig, int nTimeOutOne )
void
Saig_Bmc3ManStop
(
Gia_ManBmc_t
*
p
)
{
if
(
p
->
pPars
->
fVerbose
)
printf
(
"Buffs = %d. Dups = %d. Hash hits = %d. Hash misses = %d. Hash overs = %d. UniProps = %d.
\n
"
,
p
->
nBufNum
,
p
->
nDupNum
,
p
->
nHashHit
,
p
->
nHashMiss
,
p
->
nHashOver
,
p
->
nUniProps
);
{
int
nUsedVars
=
sat_solver_count_usedvars
(
p
->
pSat
);
printf
(
"LStart(P) = %d LDelta(Q) = %d LRatio(R) = %d ReduceDB = %d Vars = %d Used = %d (%.2f %%)
\n
"
,
p
->
pSat
->
nLearntStart
,
p
->
pSat
->
nLearntDelta
,
p
->
pSat
->
nLearntRatio
,
p
->
pSat
->
nDBreduces
,
p
->
pSat
->
size
,
nUsedVars
,
100
.
0
*
nUsedVars
/
p
->
pSat
->
size
);
printf
(
"Buffs = %d. Dups = %d. Hash hits = %d. Hash misses = %d. Hash overs = %d. UniProps = %d.
\n
"
,
p
->
nBufNum
,
p
->
nDupNum
,
p
->
nHashHit
,
p
->
nHashMiss
,
p
->
nHashOver
,
p
->
nUniProps
);
}
// Aig_ManCleanMarkA( p->pAig );
if
(
p
->
vCexes
)
{
...
...
@@ -1642,7 +1648,7 @@ nTimeUndec += clock() - clk2;
}
printf
(
"%4d %s : "
,
f
,
fUnfinished
?
"-"
:
"+"
);
printf
(
"Var =%8.0f. "
,
(
double
)
p
->
nSatVars
);
printf
(
"Used =%8.0f. "
,
(
double
)
sat_solver_count_usedvars
(
p
->
pSat
)
);
//
printf( "Used =%8.0f. ", (double)sat_solver_count_usedvars(p->pSat) );
printf
(
"Cla =%9.0f. "
,
(
double
)
p
->
pSat
->
stats
.
clauses
);
printf
(
"Conf =%7.0f. "
,(
double
)
p
->
pSat
->
stats
.
conflicts
);
// printf( "Imp =%10.0f. ", (double)p->pSat->stats.propagations );
...
...
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