summaryrefslogtreecommitdiffstats
path: root/src/map/if/ifMap.c
diff options
context:
space:
mode:
authorAlan Mishchenko <alanmi@berkeley.edu>2014-04-03 12:57:27 -0700
committerAlan Mishchenko <alanmi@berkeley.edu>2014-04-03 12:57:27 -0700
commit71e11a3eec43738aef8c06e625882db57d29f4c3 (patch)
tree413fe85be165019016ca4a88bb75364256cc3672 /src/map/if/ifMap.c
parent7669c99605b6c7ea4a3e560d99861e57da4e8f54 (diff)
downloadabc-71e11a3eec43738aef8c06e625882db57d29f4c3.tar.gz
abc-71e11a3eec43738aef8c06e625882db57d29f4c3.tar.bz2
abc-71e11a3eec43738aef8c06e625882db57d29f4c3.zip
Improvements to technology mapping.
Diffstat (limited to 'src/map/if/ifMap.c')
-rw-r--r--src/map/if/ifMap.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/map/if/ifMap.c b/src/map/if/ifMap.c
index 8b81003a..f04cb201 100644
--- a/src/map/if/ifMap.c
+++ b/src/map/if/ifMap.c
@@ -193,12 +193,15 @@ void If_ObjPerformMappingAnd( If_Man_t * p, If_Obj_t * pObj, int Mode, int fPrep
if ( p->pPars->fTruth )
{
// int nShared = pCut0->nLeaves + pCut1->nLeaves - pCut->nLeaves;
- abctime clk = Abc_Clock();
+ abctime clk = 0;
+ if ( p->pPars->fVerbose )
+ clk = Abc_Clock();
if ( p->pPars->fUseTtPerm )
fChange = If_CutComputeTruthPerm( p, pCut, pCut0R, pCut1R, fFunc0R, fFunc1R );
else
fChange = If_CutComputeTruth( p, pCut, pCut0, pCut1, pObj->fCompl0, pObj->fCompl1 );
- p->timeCache[4] += Abc_Clock() - clk;
+ if ( p->pPars->fVerbose )
+ p->timeCache[4] += Abc_Clock() - clk;
if ( !p->pPars->fSkipCutFilter && fChange && If_CutFilter( pCutSet, pCut ) )
continue;
if ( p->pPars->fUseDsd )