summaryrefslogtreecommitdiffstats
path: root/src/proof/cec/cecInt.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/proof/cec/cecInt.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/proof/cec/cecInt.h')
-rw-r--r--src/proof/cec/cecInt.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/proof/cec/cecInt.h b/src/proof/cec/cecInt.h
index 36ff3483..dd6dc618 100644
--- a/src/proof/cec/cecInt.h
+++ b/src/proof/cec/cecInt.h
@@ -61,13 +61,13 @@ struct Cec_ManPat_t_
int nSeries; // simulation series
int fVerbose; // verbose stats
// runtime statistics
- clock_t timeFind; // detecting the pattern
- clock_t timeShrink; // minimizing the pattern
- clock_t timeVerify; // verifying the result of minimisation
- clock_t timeSort; // sorting literals
- clock_t timePack; // packing into sim info structures
- clock_t timeTotal; // total runtime
- clock_t timeTotalSave; // total runtime for saving
+ abctime timeFind; // detecting the pattern
+ abctime timeShrink; // minimizing the pattern
+ abctime timeVerify; // verifying the result of minimisation
+ abctime timeSort; // sorting literals
+ abctime timePack; // packing into sim info structures
+ abctime timeTotal; // total runtime
+ abctime timeTotalSave; // total runtime for saving
};
// SAT solving manager
@@ -154,10 +154,10 @@ struct Cec_ManFra_t_
int nAllDisproved; // total number of disproved nodes
int nAllFailed; // total number of failed nodes
// runtime stats
- clock_t timeSim; // unsat
- clock_t timePat; // unsat
- clock_t timeSat; // sat
- clock_t timeTotal; // total runtime
+ abctime timeSim; // unsat
+ abctime timePat; // unsat
+ abctime timeSat; // sat
+ abctime timeTotal; // total runtime
};
////////////////////////////////////////////////////////////////////////
@@ -169,7 +169,7 @@ struct Cec_ManFra_t_
////////////////////////////////////////////////////////////////////////
/*=== cecCorr.c ============================================================*/
-extern void Cec_ManRefinedClassPrintStats( Gia_Man_t * p, Vec_Str_t * vStatus, int iIter, clock_t Time );
+extern void Cec_ManRefinedClassPrintStats( Gia_Man_t * p, Vec_Str_t * vStatus, int iIter, abctime Time );
/*=== cecClass.c ============================================================*/
extern int Cec_ManSimClassRemoveOne( Cec_ManSim_t * p, int i );
extern int Cec_ManSimClassesPrepare( Cec_ManSim_t * p, int LevelMax );