From 71e11a3eec43738aef8c06e625882db57d29f4c3 Mon Sep 17 00:00:00 2001 From: Alan Mishchenko Date: Thu, 3 Apr 2014 12:57:27 -0700 Subject: Improvements to technology mapping. --- src/map/if/ifMap.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/map/if/ifMap.c') 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 ) -- cgit v1.2.3