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
08f6d49f
Commit
08f6d49f
authored
Jan 16, 2012
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removing additional printout in the GIA package.
parent
0695ec54
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
15 deletions
+5
-15
src/aig/gia/giaHash.c
+5
-15
No files found.
src/aig/gia/giaHash.c
View file @
08f6d49f
...
@@ -151,18 +151,6 @@ void Gia_ManHashStart( Gia_Man_t * p )
...
@@ -151,18 +151,6 @@ void Gia_ManHashStart( Gia_Man_t * p )
***********************************************************************/
***********************************************************************/
void
Gia_ManHashStop
(
Gia_Man_t
*
p
)
void
Gia_ManHashStop
(
Gia_Man_t
*
p
)
{
{
int
i
,
Ent
,
Counter
;
printf
(
"Hash table hits = %12u. Hash table misses = %12u.
\n
"
,
(
int
)
p
->
nHashHit
,
(
int
)
p
->
nHashMiss
);
printf
(
"Hash table size = %12u. Object count = %12u.
\n
"
,
p
->
nHTable
,
p
->
nObjs
);
for
(
i
=
0
;
i
<
Abc_MinInt
(
p
->
nHTable
,
1000
);
i
++
)
{
Counter
=
0
;
for
(
Ent
=
Gia_Lit2Var
(
p
->
pHTable
[
i
]);
Ent
;
Ent
=
Gia_Lit2Var
(
Gia_ManObj
(
p
,
Ent
)
->
Value
)
)
Counter
++
;
printf
(
"%d "
,
Counter
);
}
printf
(
"
\n
"
);
ABC_FREE
(
p
->
pHTable
);
ABC_FREE
(
p
->
pHTable
);
p
->
nHTable
=
0
;
p
->
nHTable
=
0
;
}
}
...
@@ -225,9 +213,11 @@ void Gia_ManHashResize( Gia_Man_t * p )
...
@@ -225,9 +213,11 @@ void Gia_ManHashResize( Gia_Man_t * p )
void
Gia_ManHashProfile
(
Gia_Man_t
*
p
)
void
Gia_ManHashProfile
(
Gia_Man_t
*
p
)
{
{
Gia_Obj_t
*
pEntry
;
Gia_Obj_t
*
pEntry
;
int
i
,
Counter
;
int
i
,
Counter
,
Limit
;
printf
(
"Table size = %d. Entries = %d.
\n
"
,
p
->
nHTable
,
Gia_ManAndNum
(
p
)
);
printf
(
"Table size = %d. Entries = %d. "
,
p
->
nHTable
,
Gia_ManAndNum
(
p
)
);
for
(
i
=
0
;
i
<
p
->
nHTable
;
i
++
)
printf
(
"Hits = %d. Misses = %d.
\n
"
,
(
int
)
p
->
nHashHit
,
(
int
)
p
->
nHashMiss
);
Limit
=
Abc_MinInt
(
1000
,
p
->
nHTable
);
for
(
i
=
0
;
i
<
Limit
;
i
++
)
{
{
Counter
=
0
;
Counter
=
0
;
for
(
pEntry
=
(
p
->
pHTable
[
i
]
?
Gia_ManObj
(
p
,
Gia_Lit2Var
(
p
->
pHTable
[
i
]))
:
NULL
);
for
(
pEntry
=
(
p
->
pHTable
[
i
]
?
Gia_ManObj
(
p
,
Gia_Lit2Var
(
p
->
pHTable
[
i
]))
:
NULL
);
...
...
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