71 if ( p->pPars->fVerbose )
95 unsigned pCanons[222];
100 printf(
"Tried = %8d. Beg = %8d. End = %8d. Gain = %6d. (%6.2f %%). Cut mem = %d MB\n",
101 p->nNodesTried, p->nNodesInit,
Aig_ManNodeNum(p->pAig), Gain, 100.0*Gain/p->nNodesInit, p->nCutMemUsed );
102 printf(
"Cuts = %8d. Tried = %8d. Used = %8d. Bad = %5d. Skipped = %5d. Ave = %.2f.\n",
103 p->nCutsAll, p->nCutsTried, p->nCutsUsed, p->nCutsBad, p->nCutsSkipped,
106 printf(
"Bufs = %5d. BufMax = %5d. BufReplace = %6d. BufFix = %6d. Levels = %4d.\n",
108 ABC_PRT(
"Cuts ", p->timeCuts );
109 ABC_PRT(
"Eval ", p->timeEval );
110 ABC_PRT(
"Other ", p->timeOther );
111 ABC_PRT(
"TOTAL ", p->timeTotal );
113 if ( !p->pPars->fVeryVerbose )
116 for ( i = 0; i < 222; i++ )
118 if ( p->ClassGains[i] == 0 && p->ClassTimes[i] == 0 )
120 printf(
"%3d : ", i );
121 printf(
"G = %6d (%5.2f %%) ", p->ClassGains[i], Gain? 100.0*p->ClassGains[i]/Gain : 0.0 );
122 printf(
"S = %8d (%5.2f %%) ", p->ClassSubgs[i], p->nTotalSubgs? 100.0*p->ClassSubgs[i]/p->nTotalSubgs : 0.0 );
123 printf(
"R = %7d ", p->ClassGains[i]? p->ClassSubgs[i]/p->ClassGains[i] : 9999999 );
151 void Dar_ManPrintScript()
153 unsigned pCanons[222];
156 for ( i = 1; i < 222; i++ )
162 printf(
"\", /* %3d */\n", i );
void Dar_ManStop(Dar_Man_t *p)
typedefABC_NAMESPACE_HEADER_START struct Aig_Man_t_ Aig_Man_t
INCLUDES ///.
void Aig_MmFixedStop(Aig_MmFixed_t *p, int fVerbose)
#define ABC_ALLOC(type, num)
void Kit_DsdPrintFromTruth(unsigned *pTruth, int nVars)
Aig_MmFixed_t * Aig_MmFixedStart(int nEntrySize, int nEntriesMax)
FUNCTION DEFINITIONS ///.
static int Aig_ManNodeNum(Aig_Man_t *p)
Kit_DsdNtk_t * Kit_DsdDecompose(unsigned *pTruth, int nVars)
static int Aig_ManBufNum(Aig_Man_t *p)
void Kit_DsdPrint(FILE *pFile, Kit_DsdNtk_t *pNtk)
typedefABC_NAMESPACE_HEADER_START struct Dar_Man_t_ Dar_Man_t
INCLUDES ///.
#define ABC_NAMESPACE_IMPL_END
void Dar_ManPrintStats(Dar_Man_t *p)
void Dar_LibReturnCanonicals(unsigned *pCanons)
#define ABC_NAMESPACE_IMPL_START
static Vec_Ptr_t * Vec_PtrAlloc(int nCap)
FUNCTION DEFINITIONS ///.
typedefABC_NAMESPACE_HEADER_START struct Dar_RwrPar_t_ Dar_RwrPar_t
INCLUDES ///.
void Kit_DsdNtkFree(Kit_DsdNtk_t *pNtk)
int Aig_ManLevels(Aig_Man_t *p)
void Aig_ManCleanData(Aig_Man_t *p)
ABC_NAMESPACE_IMPL_START Dar_Man_t * Dar_ManStart(Aig_Man_t *pAig, Dar_RwrPar_t *pPars)
DECLARATIONS ///.
static void Vec_PtrFree(Vec_Ptr_t *p)