diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2013-05-27 15:09:23 -0700 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2013-05-27 15:09:23 -0700 |
commit | 19c25fd6aab057b2373717f996fe538507c1b1e1 (patch) | |
tree | 7aa7cd7609a5de31d11b3455b6388fd9300c8d0f /src/misc/util/utilNam.c | |
parent | 94356f0d1fa8e671303299717f631ecf0ca2f17e (diff) | |
download | abc-19c25fd6aab057b2373717f996fe538507c1b1e1.tar.gz abc-19c25fd6aab057b2373717f996fe538507c1b1e1.tar.bz2 abc-19c25fd6aab057b2373717f996fe538507c1b1e1.zip |
Adding a wrapper around clock() for more accurate time counting in ABC.
Diffstat (limited to 'src/misc/util/utilNam.c')
-rw-r--r-- | src/misc/util/utilNam.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/misc/util/utilNam.c b/src/misc/util/utilNam.c index ccea6322..5fb38c51 100644 --- a/src/misc/util/utilNam.c +++ b/src/misc/util/utilNam.c @@ -302,7 +302,7 @@ void Abc_NamStrHashResize( Abc_Nam_t * p ) { Vec_Int_t * vInt2HandleOld; char * pThis; - int * piPlace, * pBinsOld, iHandleOld, i;//, clk = clock(); + int * piPlace, * pBinsOld, iHandleOld, i;//, clk = Abc_Clock(); assert( p->pBins != NULL ); // Abc_Print( 1, "Resizing names manager hash table from %6d to %6d. ", p->nBins, Abc_PrimeCudd( 3 * p->nBins ) ); // replace the table @@ -327,7 +327,7 @@ void Abc_NamStrHashResize( Abc_Nam_t * p ) } Vec_IntFree( vInt2HandleOld ); ABC_FREE( pBinsOld ); -// Abc_PrintTime( 1, "Time", clock() - clk ); +// Abc_PrintTime( 1, "Time", Abc_Clock() - clk ); } /**Function************************************************************* |