summaryrefslogtreecommitdiffstats
path: root/src/proof/pdr/pdrInv.c
diff options
context:
space:
mode:
authorAlan Mishchenko <alanmi@berkeley.edu>2012-07-07 10:44:34 -0700
committerAlan Mishchenko <alanmi@berkeley.edu>2012-07-07 10:44:34 -0700
commit8b881d235a90e67282fa2e91bbfec8c4e6685878 (patch)
tree1ab26419ca1ec1bd8639f9b12df6a4f5eb996012 /src/proof/pdr/pdrInv.c
parent31d85e732b2648049171abfb906216dfe31449f3 (diff)
downloadabc-8b881d235a90e67282fa2e91bbfec8c4e6685878.tar.gz
abc-8b881d235a90e67282fa2e91bbfec8c4e6685878.tar.bz2
abc-8b881d235a90e67282fa2e91bbfec8c4e6685878.zip
Making 'pdr', &gla, &vta print correctly in batch mode.
Diffstat (limited to 'src/proof/pdr/pdrInv.c')
-rw-r--r--src/proof/pdr/pdrInv.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/proof/pdr/pdrInv.c b/src/proof/pdr/pdrInv.c
index c4a85875..f9b4a55d 100644
--- a/src/proof/pdr/pdrInv.c
+++ b/src/proof/pdr/pdrInv.c
@@ -50,6 +50,8 @@ void Pdr_ManPrintProgress( Pdr_Man_t * p, int fClose, clock_t Time )
int i, ThisSize, Length, LengthStart;
if ( Vec_PtrSize(p->vSolvers) < 2 )
return;
+ if ( Abc_FrameIsBatchMode() && !fClose )
+ return;
// count the total length of the printout
Length = 0;
Vec_VecForEachLevel( p->vClauses, vVec, i )
@@ -78,7 +80,7 @@ void Pdr_ManPrintProgress( Pdr_Man_t * p, int fClose, clock_t Time )
for ( i = ThisSize; i < 70; i++ )
Abc_Print( 1, " " );
Abc_Print( 1, "%6d", p->nQueMax );
- Abc_Print( 1, " %8.2f sec", (float)(Time)/(float)(CLOCKS_PER_SEC) );
+ Abc_Print( 1, "%10.2f sec", 1.0*Time/CLOCKS_PER_SEC );
Abc_Print( 1, "%s", fClose ? "\n":"\r" );
if ( fClose )
p->nQueMax = 0;