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
b38df9fe
Commit
b38df9fe
authored
Nov 12, 2011
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Experiment with time reporting in GLA PBA.
parent
814ee484
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
src/aig/saig/saigGlaPba.c
+3
-3
No files found.
src/aig/saig/saigGlaPba.c
View file @
b38df9fe
...
@@ -72,7 +72,7 @@ struct Aig_Gla2Man_t_
...
@@ -72,7 +72,7 @@ struct Aig_Gla2Man_t_
***********************************************************************/
***********************************************************************/
int
Abc_Clock
(
int
Timer
,
int
fReset
)
int
Abc_Clock
(
int
Timer
,
int
fReset
)
{
{
static
Time
[
16
],
Clock
[
16
];
static
int
Time
[
16
],
Clock
[
16
];
int
Clock2
,
Diff
;
int
Clock2
,
Diff
;
assert
(
Timer
>=
0
&&
Timer
<
16
);
assert
(
Timer
>=
0
&&
Timer
<
16
);
if
(
fReset
)
if
(
fReset
)
...
@@ -453,7 +453,7 @@ Vec_Int_t * Saig_AbsSolverUnsatCore( sat_solver * pSat, int nConfMax, int fVerbo
...
@@ -453,7 +453,7 @@ Vec_Int_t * Saig_AbsSolverUnsatCore( sat_solver * pSat, int nConfMax, int fVerbo
if
(
fVerbose
)
if
(
fVerbose
)
{
{
printf
(
"SAT solver returned UNSAT after %7d conflicts. "
,
pSat
->
stats
.
conflicts
);
printf
(
"SAT solver returned UNSAT after %7d conflicts. "
,
pSat
->
stats
.
conflicts
);
ABC_PRT
(
"Time"
,
Abc_Clock
(
2
,
0
)
);
ABC_PRT
(
"Time"
,
(
Abc_Clock
(
2
,
0
)
/
ABC_CPS
)
*
CLOCKS_PER_SEC
);
}
}
assert
(
RetValue
==
l_False
);
assert
(
RetValue
==
l_False
);
pSatCnf
=
sat_solver_store_release
(
pSat
);
pSatCnf
=
sat_solver_store_release
(
pSat
);
...
@@ -465,7 +465,7 @@ Vec_Int_t * Saig_AbsSolverUnsatCore( sat_solver * pSat, int nConfMax, int fVerbo
...
@@ -465,7 +465,7 @@ Vec_Int_t * Saig_AbsSolverUnsatCore( sat_solver * pSat, int nConfMax, int fVerbo
if
(
fVerbose
)
if
(
fVerbose
)
{
{
printf
(
"SAT core contains %8d clauses (out of %8d). "
,
Vec_IntSize
(
vCore
),
((
Sto_Man_t
*
)
pSatCnf
)
->
nRoots
);
printf
(
"SAT core contains %8d clauses (out of %8d). "
,
Vec_IntSize
(
vCore
),
((
Sto_Man_t
*
)
pSatCnf
)
->
nRoots
);
ABC_PRT
(
"Time"
,
Abc_Clock
(
2
,
0
)
);
ABC_PRT
(
"Time"
,
(
Abc_Clock
(
2
,
0
)
/
ABC_CPS
)
*
CLOCKS_PER_SEC
);
}
}
Sto_ManFree
(
(
Sto_Man_t
*
)
pSatCnf
);
Sto_ManFree
(
(
Sto_Man_t
*
)
pSatCnf
);
return
vCore
;
return
vCore
;
...
...
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