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
0f29c62e
Commit
0f29c62e
authored
Nov 04, 2013
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Tuning for multi-ouptut solver.
parent
ed11db17
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
src/sat/bmc/bmcMulti.c
+3
-3
No files found.
src/sat/bmc/bmcMulti.c
View file @
0f29c62e
...
@@ -166,7 +166,7 @@ Vec_Ptr_t * Gia_ManMultiProveAig( Aig_Man_t * p, Bmc_MulPar_t * pPars )
...
@@ -166,7 +166,7 @@ Vec_Ptr_t * Gia_ManMultiProveAig( Aig_Man_t * p, Bmc_MulPar_t * pPars )
Vec_Ptr_t
*
vCexes
;
Vec_Ptr_t
*
vCexes
;
Aig_Man_t
*
pTemp
;
Aig_Man_t
*
pTemp
;
abctime
clkStart
=
Abc_Clock
();
abctime
clkStart
=
Abc_Clock
();
int
nTimeToStop
=
pPars
->
TimeOutGlo
?
pPars
->
TimeOutGlo
*
CLOCKS_PER_SEC
+
Abc_Clock
()
:
0
;
abctime
nTimeToStop
=
pPars
->
TimeOutGlo
?
Abc_Clock
()
+
pPars
->
TimeOutGlo
*
CLOCKS_PER_SEC
:
0
;
int
nTotalPo
=
Saig_ManPoNum
(
p
);
int
nTotalPo
=
Saig_ManPoNum
(
p
);
int
nTotalSize
=
Aig_ManObjNum
(
p
);
int
nTotalSize
=
Aig_ManObjNum
(
p
);
int
TimeOutLoc
=
pPars
->
TimeOutLoc
;
int
TimeOutLoc
=
pPars
->
TimeOutLoc
;
...
@@ -202,7 +202,7 @@ Vec_Ptr_t * Gia_ManMultiProveAig( Aig_Man_t * p, Bmc_MulPar_t * pPars )
...
@@ -202,7 +202,7 @@ Vec_Ptr_t * Gia_ManMultiProveAig( Aig_Man_t * p, Bmc_MulPar_t * pPars )
Gia_ManMultiReport
(
p
,
"SIM"
,
nTotalPo
,
nTotalSize
,
clkStart
);
Gia_ManMultiReport
(
p
,
"SIM"
,
nTotalPo
,
nTotalSize
,
clkStart
);
// check timeout
// check timeout
if
(
nTimeToStop
&&
TimeOutLoc
*
CLOCKS_PER_SEC
+
Abc_Clock
()
>
nTimeToStop
)
if
(
nTimeToStop
&&
Abc_Clock
()
+
TimeOutLoc
*
CLOCKS_PER_SEC
>
nTimeToStop
)
{
{
printf
(
"Global timeout (%d sec) is reached.
\n
"
,
pPars
->
TimeOutGlo
);
printf
(
"Global timeout (%d sec) is reached.
\n
"
,
pPars
->
TimeOutGlo
);
break
;
break
;
...
@@ -234,7 +234,7 @@ Vec_Ptr_t * Gia_ManMultiProveAig( Aig_Man_t * p, Bmc_MulPar_t * pPars )
...
@@ -234,7 +234,7 @@ Vec_Ptr_t * Gia_ManMultiProveAig( Aig_Man_t * p, Bmc_MulPar_t * pPars )
Gia_ManMultiReport
(
p
,
"BMC"
,
nTotalPo
,
nTotalSize
,
clkStart
);
Gia_ManMultiReport
(
p
,
"BMC"
,
nTotalPo
,
nTotalSize
,
clkStart
);
// check timeout
// check timeout
if
(
nTimeToStop
&&
TimeOutLoc
*
CLOCKS_PER_SEC
+
Abc_Clock
()
>
nTimeToStop
)
if
(
nTimeToStop
&&
Abc_Clock
()
+
TimeOutLoc
*
CLOCKS_PER_SEC
>
nTimeToStop
)
{
{
printf
(
"Global timeout (%d sec) is reached.
\n
"
,
pPars
->
TimeOutGlo
);
printf
(
"Global timeout (%d sec) is reached.
\n
"
,
pPars
->
TimeOutGlo
);
break
;
break
;
...
...
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