summaryrefslogtreecommitdiffstats
path: root/src/map/scl/sclMan.h
diff options
context:
space:
mode:
authorAlan Mishchenko <alanmi@berkeley.edu>2013-05-27 15:09:23 -0700
committerAlan Mishchenko <alanmi@berkeley.edu>2013-05-27 15:09:23 -0700
commit19c25fd6aab057b2373717f996fe538507c1b1e1 (patch)
tree7aa7cd7609a5de31d11b3455b6388fd9300c8d0f /src/map/scl/sclMan.h
parent94356f0d1fa8e671303299717f631ecf0ca2f17e (diff)
downloadabc-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/map/scl/sclMan.h')
-rw-r--r--src/map/scl/sclMan.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/map/scl/sclMan.h b/src/map/scl/sclMan.h
index ebd14d6f..15afb6de 100644
--- a/src/map/scl/sclMan.h
+++ b/src/map/scl/sclMan.h
@@ -80,11 +80,11 @@ struct SC_Man_
float MaxDelay0; // max delay at the begining
float BestDelay; // best delay in the middle
// runtime statistics
- clock_t timeTotal; // starting/total time
- clock_t timeCone; // critical path selection
- clock_t timeSize; // incremental sizing
- clock_t timeTime; // timing update
- clock_t timeOther; // everything else
+ abctime timeTotal; // starting/total time
+ abctime timeCone; // critical path selection
+ abctime timeSize; // incremental sizing
+ abctime timeTime; // timing update
+ abctime timeOther; // everything else
};
////////////////////////////////////////////////////////////////////////
@@ -340,7 +340,7 @@ static inline SC_Cell * Abc_SclObjResiable( SC_Man * p, Abc_Obj_t * pObj, int fU
SeeAlso []
***********************************************************************/
-static inline void Abc_SclDumpStats( SC_Man * p, char * pFileName, clock_t Time )
+static inline void Abc_SclDumpStats( SC_Man * p, char * pFileName, abctime Time )
{
FILE * pTable;
pTable = fopen( pFileName, "a+" );