Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
abc
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
abc
Commits
22bdf624
Commit
22bdf624
authored
May 27, 2013
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adding a wrapper around clock() for more accurate time counting in ABC.
parent
19c25fd6
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
src/misc/util/abc_global.h
+1
-1
src/sat/bmc/bmcBmc3.c
+1
-1
No files found.
src/misc/util/abc_global.h
View file @
22bdf624
...
...
@@ -268,7 +268,7 @@ static inline int Abc_Lit2LitL( int * pMap, int Lit ) { return Abc_LitNo
// time counting
typedef
ABC_
U
INT64_T
abctime
;
typedef
ABC_INT64_T
abctime
;
static
inline
abctime
Abc_Clock
()
{
static
abctime
PeriodNum
=
0
;
...
...
src/sat/bmc/bmcBmc3.c
View file @
22bdf624
...
...
@@ -1248,7 +1248,7 @@ abctime Saig_ManBmcTimeToStop( Saig_ParBmc_t * pPars, abctime nTimeToStopNG )
abctime
nTimeToStopGap
=
pPars
->
nTimeOutGap
?
pPars
->
nTimeOutGap
*
CLOCKS_PER_SEC
+
Abc_Clock
()
:
0
;
abctime
nTimeToStop
=
0
;
if
(
nTimeToStopNG
&&
nTimeToStopGap
)
nTimeToStop
=
Abc_MinInt
(
nTimeToStopNG
,
nTimeToStopGap
)
;
nTimeToStop
=
nTimeToStopNG
<
nTimeToStopGap
?
nTimeToStopNG
:
nTimeToStopGap
;
else
if
(
nTimeToStopNG
)
nTimeToStop
=
nTimeToStopNG
;
else
if
(
nTimeToStopGap
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment