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
102782a5
Commit
102782a5
authored
Jun 04, 2014
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adding CEC command &splitprove.
parent
c05aa7a8
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
src/proof/cec/cecSplit.c
+4
-0
No files found.
src/proof/cec/cecSplit.c
View file @
102782a5
...
@@ -369,6 +369,7 @@ void Cec_GiaSplitPrint( int nIter, int Depth, int nVars, int nConfs, int fStatus
...
@@ -369,6 +369,7 @@ void Cec_GiaSplitPrint( int nIter, int Depth, int nVars, int nConfs, int fStatus
printf
(
"Solved %8.4f %% "
,
100
*
Prog
);
printf
(
"Solved %8.4f %% "
,
100
*
Prog
);
Abc_PrintTime
(
1
,
"Time"
,
clk
);
Abc_PrintTime
(
1
,
"Time"
,
clk
);
//ABC_PRTr( "Time", Abc_Clock()-clk );
//ABC_PRTr( "Time", Abc_Clock()-clk );
fflush
(
stdout
);
}
}
void
Cec_GiaSplitPrintRefs
(
Gia_Man_t
*
p
)
void
Cec_GiaSplitPrintRefs
(
Gia_Man_t
*
p
)
{
{
...
@@ -498,6 +499,7 @@ int Cec_GiaSplitTest2( Gia_Man_t * p, int nProcs, int nTimeOut, int nIterMax, in
...
@@ -498,6 +499,7 @@ int Cec_GiaSplitTest2( Gia_Man_t * p, int nProcs, int nTimeOut, int nIterMax, in
else
assert
(
0
);
else
assert
(
0
);
printf
(
"after %d case-splits. "
,
nIter
);
printf
(
"after %d case-splits. "
,
nIter
);
Abc_PrintTime
(
1
,
"Time"
,
Abc_Clock
()
-
clkTotal
);
Abc_PrintTime
(
1
,
"Time"
,
Abc_Clock
()
-
clkTotal
);
fflush
(
stdout
);
return
RetValue
;
return
RetValue
;
}
}
...
@@ -559,6 +561,7 @@ int Cec_GiaSplitTest( Gia_Man_t * p, int nProcs, int nTimeOut, int nIterMax, int
...
@@ -559,6 +561,7 @@ int Cec_GiaSplitTest( Gia_Man_t * p, int nProcs, int nTimeOut, int nIterMax, int
printf
(
"Solving CEC problem by cofactoring with the following parameters:
\n
"
);
printf
(
"Solving CEC problem by cofactoring with the following parameters:
\n
"
);
if
(
fVerbose
)
if
(
fVerbose
)
printf
(
"Processes = %d TimeOut = %d sec MaxIter = %d LookAhead = %d Verbose = %d.
\n
"
,
nProcs
,
nTimeOut
,
nIterMax
,
LookAhead
,
fVerbose
);
printf
(
"Processes = %d TimeOut = %d sec MaxIter = %d LookAhead = %d Verbose = %d.
\n
"
,
nProcs
,
nTimeOut
,
nIterMax
,
LookAhead
,
fVerbose
);
fflush
(
stdout
);
if
(
nProcs
==
1
)
if
(
nProcs
==
1
)
return
Cec_GiaSplitTest2
(
p
,
nProcs
,
nTimeOut
,
nIterMax
,
LookAhead
,
fVerbose
);
return
Cec_GiaSplitTest2
(
p
,
nProcs
,
nTimeOut
,
nIterMax
,
LookAhead
,
fVerbose
);
// subtract manager thread
// subtract manager thread
...
@@ -695,6 +698,7 @@ finish:
...
@@ -695,6 +698,7 @@ finish:
else
assert
(
0
);
else
assert
(
0
);
printf
(
"after %d case-splits. "
,
nIter
);
printf
(
"after %d case-splits. "
,
nIter
);
Abc_PrintTime
(
1
,
"Time"
,
Abc_Clock
()
-
clkTotal
);
Abc_PrintTime
(
1
,
"Time"
,
Abc_Clock
()
-
clkTotal
);
fflush
(
stdout
);
return
RetValue
;
return
RetValue
;
}
}
...
...
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