summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAlan Mishchenko <alanmi@berkeley.edu>2014-11-17 13:36:26 -0800
committerAlan Mishchenko <alanmi@berkeley.edu>2014-11-17 13:36:26 -0800
commite30df95aba50eeacdaf576301cfd571d0bed2bc5 (patch)
tree1c133b3cd7cd8e6109be2ec0ca31b3901ef39d97 /src
parent345d4e24f3cd3dae2acaf0bdbc7254a1a5874684 (diff)
downloadabc-e30df95aba50eeacdaf576301cfd571d0bed2bc5.tar.gz
abc-e30df95aba50eeacdaf576301cfd571d0bed2bc5.tar.bz2
abc-e30df95aba50eeacdaf576301cfd571d0bed2bc5.zip
Printout in mfs2.
Diffstat (limited to 'src')
-rw-r--r--src/opt/sfm/sfmCore.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/opt/sfm/sfmCore.c b/src/opt/sfm/sfmCore.c
index 9936fa9f..11ace2d0 100644
--- a/src/opt/sfm/sfmCore.c
+++ b/src/opt/sfm/sfmCore.c
@@ -258,8 +258,13 @@ int Sfm_NtkPerform( Sfm_Ntk_t * p, Sfm_Par_t * pPars )
{
int i, k, Counter = 0;
p->timeTotal = Abc_Clock();
- if ( pPars->fVerbose && Vec_StrSum(p->vFixed) > 0 )
- printf( "Performing MFS with %d fixed objects.\n", Vec_StrSum(p->vFixed) );
+ if ( pPars->fVerbose )
+ {
+ int nFixed = p->vFixed ? Vec_StrSum(p->vFixed) : 0;
+ int nEmpty = p->vEmpty ? Vec_StrSum(p->vEmpty) : 0;
+ printf( "Performing MFS with %d PIs, %d POs, %d nodes (%d flexible, %d fixed, %d empty).\n",
+ p->nPis, p->nPos, p->nNodes, p->nNodes-nFixed, nFixed, nEmpty );
+ }
p->pPars = pPars;
Sfm_NtkPrepare( p );
// Sfm_ComputeInterpolantCheck( p );