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
473012aa
Commit
473012aa
authored
Aug 08, 2016
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enabled progress bar in the 'if' mapper.
parent
95d2ab9c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
src/map/if/ifMap.c
+5
-5
No files found.
src/map/if/ifMap.c
View file @
473012aa
...
@@ -19,7 +19,7 @@
...
@@ -19,7 +19,7 @@
***********************************************************************/
***********************************************************************/
#include "if.h"
#include "if.h"
#include "misc/extra/extra.h"
ABC_NAMESPACE_IMPL_START
ABC_NAMESPACE_IMPL_START
...
@@ -537,7 +537,7 @@ void If_ObjPerformMappingChoice( If_Man_t * p, If_Obj_t * pObj, int Mode, int fP
...
@@ -537,7 +537,7 @@ void If_ObjPerformMappingChoice( If_Man_t * p, If_Obj_t * pObj, int Mode, int fP
***********************************************************************/
***********************************************************************/
int
If_ManPerformMappingRound
(
If_Man_t
*
p
,
int
nCutsUsed
,
int
Mode
,
int
fPreprocess
,
int
fFirst
,
char
*
pLabel
)
int
If_ManPerformMappingRound
(
If_Man_t
*
p
,
int
nCutsUsed
,
int
Mode
,
int
fPreprocess
,
int
fFirst
,
char
*
pLabel
)
{
{
//
ProgressBar * pProgress;
ProgressBar
*
pProgress
;
If_Obj_t
*
pObj
;
If_Obj_t
*
pObj
;
int
i
;
int
i
;
abctime
clk
=
Abc_Clock
();
abctime
clk
=
Abc_Clock
();
...
@@ -590,16 +590,16 @@ int If_ManPerformMappingRound( If_Man_t * p, int nCutsUsed, int Mode, int fPrepr
...
@@ -590,16 +590,16 @@ int If_ManPerformMappingRound( If_Man_t * p, int nCutsUsed, int Mode, int fPrepr
}
}
else
else
{
{
//
pProgress = Extra_ProgressBarStart( stdout, If_ManObjNum(p) );
pProgress
=
Extra_ProgressBarStart
(
stdout
,
If_ManObjNum
(
p
)
);
If_ManForEachNode
(
p
,
pObj
,
i
)
If_ManForEachNode
(
p
,
pObj
,
i
)
{
{
//
Extra_ProgressBarUpdate( pProgress, i, pLabel );
Extra_ProgressBarUpdate
(
pProgress
,
i
,
pLabel
);
If_ObjPerformMappingAnd
(
p
,
pObj
,
Mode
,
fPreprocess
,
fFirst
);
If_ObjPerformMappingAnd
(
p
,
pObj
,
Mode
,
fPreprocess
,
fFirst
);
if
(
pObj
->
fRepr
)
if
(
pObj
->
fRepr
)
If_ObjPerformMappingChoice
(
p
,
pObj
,
Mode
,
fPreprocess
);
If_ObjPerformMappingChoice
(
p
,
pObj
,
Mode
,
fPreprocess
);
}
}
}
}
//
Extra_ProgressBarStop( pProgress );
Extra_ProgressBarStop
(
pProgress
);
// make sure the visit counters are all zero
// make sure the visit counters are all zero
If_ManForEachNode
(
p
,
pObj
,
i
)
If_ManForEachNode
(
p
,
pObj
,
i
)
assert
(
pObj
->
nVisits
==
0
);
assert
(
pObj
->
nVisits
==
0
);
...
...
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