From 19c25fd6aab057b2373717f996fe538507c1b1e1 Mon Sep 17 00:00:00 2001 From: Alan Mishchenko Date: Mon, 27 May 2013 15:09:23 -0700 Subject: Adding a wrapper around clock() for more accurate time counting in ABC. --- src/misc/extra/extraUtilMisc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/misc/extra/extraUtilMisc.c') diff --git a/src/misc/extra/extraUtilMisc.c b/src/misc/extra/extraUtilMisc.c index 3498abf7..51bd887e 100644 --- a/src/misc/extra/extraUtilMisc.c +++ b/src/misc/extra/extraUtilMisc.c @@ -2480,7 +2480,7 @@ void Extra_NpnTest() // int nFuncs = 5687661; // int nFuncs = 400777; int nFuncs = 10; - clock_t clk = clock(); + abctime clk = Abc_Clock(); word * pFuncs; int * pComp, * pPerm; int i;//, k, nUnique = 0; @@ -2528,7 +2528,7 @@ void Extra_NpnTest() ABC_FREE( pPerm ); ABC_FREE( pComp ); ABC_FREE( pFuncs ); - Abc_PrintTime( 1, "Time", clock() - clk ); + Abc_PrintTime( 1, "Time", Abc_Clock() - clk ); } -- cgit v1.2.3