Commit 102782a5 by Alan Mishchenko

Adding CEC command &splitprove.

parent c05aa7a8
...@@ -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;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment