diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2012-07-07 18:15:08 -0700 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2012-07-07 18:15:08 -0700 |
commit | 4760983a461142eacceeed45ddcf5598e6a389a2 (patch) | |
tree | 87afc6370242742e1571cc42ff7824a9d8ce722f /src/opt/fsim | |
parent | 3aab7245738a69f1dd4d898493d5dabf6596ea61 (diff) | |
download | abc-4760983a461142eacceeed45ddcf5598e6a389a2.tar.gz abc-4760983a461142eacceeed45ddcf5598e6a389a2.tar.bz2 abc-4760983a461142eacceeed45ddcf5598e6a389a2.zip |
Fixing time primtouts throughout the code.
Diffstat (limited to 'src/opt/fsim')
-rw-r--r-- | src/opt/fsim/fsimSim.c | 6 | ||||
-rw-r--r-- | src/opt/fsim/fsimTsim.c | 3 |
2 files changed, 6 insertions, 3 deletions
diff --git a/src/opt/fsim/fsimSim.c b/src/opt/fsim/fsimSim.c index 84844407..5a3fffb0 100644 --- a/src/opt/fsim/fsimSim.c +++ b/src/opt/fsim/fsimSim.c @@ -384,7 +384,8 @@ static inline void Fsim_ManSimulateRound( Fsim_Man_t * p ) void Fsim_ManSimulateRoundTest( Fsim_Man_t * p ) { Fsim_Obj_t * pObj; - int i, clk = clock(); + int i; + clock_t clk = clock(); Fsim_ManForEachObj( p, pObj, i ) { } @@ -471,7 +472,8 @@ int Fsim_ManSimulate( Aig_Man_t * pAig, Fsim_ParSim_t * pPars ) { Fsim_Man_t * p; Sec_MtrStatus_t Status; - int i, iOut, iPat, clk, clkTotal = clock(), clk2, clk2Total = 0; + int i, iOut, iPat; + clock_t clk, clkTotal = clock(), clk2, clk2Total = 0; assert( Aig_ManRegNum(pAig) > 0 ); if ( pPars->fCheckMiter ) { diff --git a/src/opt/fsim/fsimTsim.c b/src/opt/fsim/fsimTsim.c index 5ad78b33..78db166f 100644 --- a/src/opt/fsim/fsimTsim.c +++ b/src/opt/fsim/fsimTsim.c @@ -341,7 +341,8 @@ Vec_Ptr_t * Fsim_ManTerSimulate( Aig_Man_t * pAig, int fVerbose ) Fsim_Man_t * p; Vec_Ptr_t * vStates; unsigned ** pBins, * pState; - int i, nWords, nBins, clk, clkTotal = clock(); + int i, nWords, nBins; + clock_t clk, clkTotal = clock(); assert( Aig_ManRegNum(pAig) > 0 ); // create manager clk = clock(); |