diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2012-07-07 18:15:08 -0700 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2012-07-07 18:15:08 -0700 |
commit | 4760983a461142eacceeed45ddcf5598e6a389a2 (patch) | |
tree | 87afc6370242742e1571cc42ff7824a9d8ce722f /src/opt/dar | |
parent | 3aab7245738a69f1dd4d898493d5dabf6596ea61 (diff) | |
download | abc-4760983a461142eacceeed45ddcf5598e6a389a2.tar.gz abc-4760983a461142eacceeed45ddcf5598e6a389a2.tar.bz2 abc-4760983a461142eacceeed45ddcf5598e6a389a2.zip |
Fixing time primtouts throughout the code.
Diffstat (limited to 'src/opt/dar')
-rw-r--r-- | src/opt/dar/darLib.c | 4 | ||||
-rw-r--r-- | src/opt/dar/darScript.c | 3 |
2 files changed, 4 insertions, 3 deletions
diff --git a/src/opt/dar/darLib.c b/src/opt/dar/darLib.c index 67a5f59e..acf49b02 100644 --- a/src/opt/dar/darLib.c +++ b/src/opt/dar/darLib.c @@ -592,7 +592,7 @@ Dar_Lib_t * Dar_LibRead() ***********************************************************************/ void Dar_LibStart() { -// int clk = clock(); +// clock_t clk = clock(); assert( s_DarLib == NULL ); s_DarLib = Dar_LibRead(); // printf( "The 4-input library started with %d nodes and %d subgraphs. ", s_DarLib->nObjs - 4, s_DarLib->nSubgrTotal ); @@ -1189,7 +1189,7 @@ int Dar2_LibEval( Gia_Man_t * p, Vec_Int_t * vCutLits, unsigned uTruth, int fKee // int fTraining = 0; Dar_LibObj_t * pObj; int Out, k, Class, nNodesSaved, nNodesAdded, nNodesGained; - clock_t clk = clock(); +// clock_t clk = clock(); assert( Vec_IntSize(vCutLits) == 4 ); assert( (uTruth >> 16) == 0 ); // check if the cut exits and assigns leaves and their levels diff --git a/src/opt/dar/darScript.c b/src/opt/dar/darScript.c index be67b212..b59626af 100644 --- a/src/opt/dar/darScript.c +++ b/src/opt/dar/darScript.c @@ -721,7 +721,8 @@ Aig_Man_t * Dar_ManChoiceNew( Aig_Man_t * pAig, Dch_Pars_t * pPars ) int fConstruct = 0; Aig_Man_t * pMan, * pTemp; Vec_Ptr_t * vAigs; - int i, clk; + int i; + clock_t clk; clk = clock(); // vAigs = Dar_ManChoiceSynthesisExt(); |