summaryrefslogtreecommitdiffstats
path: root/src/opt/sim/simUtils.c
diff options
context:
space:
mode:
authorAlan Mishchenko <alanmi@berkeley.edu>2012-07-07 17:46:54 -0700
committerAlan Mishchenko <alanmi@berkeley.edu>2012-07-07 17:46:54 -0700
commit3aab7245738a69f1dd4d898493d5dabf6596ea61 (patch)
tree16a23107ca27a250e82c492dcdd1a2bea640cff6 /src/opt/sim/simUtils.c
parent16d96fcf533fb77ff4a45992991e38ac7ea74bb3 (diff)
downloadabc-3aab7245738a69f1dd4d898493d5dabf6596ea61.tar.gz
abc-3aab7245738a69f1dd4d898493d5dabf6596ea61.tar.bz2
abc-3aab7245738a69f1dd4d898493d5dabf6596ea61.zip
Fixing time primtouts throughout the code.
Diffstat (limited to 'src/opt/sim/simUtils.c')
-rw-r--r--src/opt/sim/simUtils.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/opt/sim/simUtils.c b/src/opt/sim/simUtils.c
index 77597e83..586fab42 100644
--- a/src/opt/sim/simUtils.c
+++ b/src/opt/sim/simUtils.c
@@ -633,7 +633,8 @@ int Sim_UtilCountPairsOnePrint( Extra_BitMat_t * pMat, Vec_Int_t * vSupport )
***********************************************************************/
void Sim_UtilCountPairsAllPrint( Sym_Man_t * p )
{
- int i, clk;
+ int i;
+ clock_t clk;
clk = clock();
for ( i = 0; i < p->nOutputs; i++ )
{
@@ -657,7 +658,8 @@ p->timeCount += clock() - clk;
***********************************************************************/
void Sim_UtilCountPairsAll( Sym_Man_t * p )
{
- int nPairsTotal, nPairsSym, nPairsNonSym, i, clk;
+ int nPairsTotal, nPairsSym, nPairsNonSym, i;
+ clock_t clk;
clk = clock();
p->nPairsSymm = 0;
p->nPairsNonSymm = 0;