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
60c901ea
Commit
60c901ea
authored
Mar 12, 2014
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improvements to print-outs.
parent
38e2c63e
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletions
+3
-1
src/map/if/ifDsd.c
+3
-1
No files found.
src/map/if/ifDsd.c
View file @
60c901ea
...
@@ -530,7 +530,7 @@ void If_DsdManPrint( If_DsdMan_t * p, char * pFileName, int Number, int Support,
...
@@ -530,7 +530,7 @@ void If_DsdManPrint( If_DsdMan_t * p, char * pFileName, int Number, int Support,
{
{
If_DsdObj_t
*
pObj
;
If_DsdObj_t
*
pObj
;
Vec_Int_t
*
vStructs
,
*
vCounts
;
Vec_Int_t
*
vStructs
,
*
vCounts
;
int
CountUsed
=
0
,
CountNonDsdStr
=
0
,
CountMarked
=
0
;
int
CountUsed
=
0
,
CountNonDsdStr
=
0
,
CountMarked
=
0
,
CountPrime
=
0
;
int
i
,
*
pPerm
,
DsdMax
=
0
;
int
i
,
*
pPerm
,
DsdMax
=
0
;
FILE
*
pFile
;
FILE
*
pFile
;
pFile
=
pFileName
?
fopen
(
pFileName
,
"wb"
)
:
stdout
;
pFile
=
pFileName
?
fopen
(
pFileName
,
"wb"
)
:
stdout
;
...
@@ -543,6 +543,7 @@ void If_DsdManPrint( If_DsdMan_t * p, char * pFileName, int Number, int Support,
...
@@ -543,6 +543,7 @@ void If_DsdManPrint( If_DsdMan_t * p, char * pFileName, int Number, int Support,
{
{
if
(
If_DsdObjType
(
pObj
)
==
IF_DSD_PRIME
)
if
(
If_DsdObjType
(
pObj
)
==
IF_DSD_PRIME
)
DsdMax
=
Abc_MaxInt
(
DsdMax
,
pObj
->
nFans
);
DsdMax
=
Abc_MaxInt
(
DsdMax
,
pObj
->
nFans
);
CountPrime
+=
If_DsdObjType
(
pObj
)
==
IF_DSD_PRIME
;
CountNonDsdStr
+=
If_DsdManCheckNonDec_rec
(
p
,
pObj
->
Id
);
CountNonDsdStr
+=
If_DsdManCheckNonDec_rec
(
p
,
pObj
->
Id
);
CountUsed
+=
(
If_DsdVecObjRef
(
p
->
vObjs
,
pObj
->
Id
)
>
0
);
CountUsed
+=
(
If_DsdVecObjRef
(
p
->
vObjs
,
pObj
->
Id
)
>
0
);
CountMarked
+=
If_DsdVecObjMark
(
p
->
vObjs
,
i
);
CountMarked
+=
If_DsdVecObjMark
(
p
->
vObjs
,
i
);
...
@@ -551,6 +552,7 @@ void If_DsdManPrint( If_DsdMan_t * p, char * pFileName, int Number, int Support,
...
@@ -551,6 +552,7 @@ void If_DsdManPrint( If_DsdMan_t * p, char * pFileName, int Number, int Support,
fprintf
(
pFile
,
"Externally used objects = %8d
\n
"
,
CountUsed
);
fprintf
(
pFile
,
"Externally used objects = %8d
\n
"
,
CountUsed
);
fprintf
(
pFile
,
"Non-DSD objects (max =%2d) = %8d
\n
"
,
DsdMax
,
Vec_MemEntryNum
(
p
->
vTtMem
)
);
fprintf
(
pFile
,
"Non-DSD objects (max =%2d) = %8d
\n
"
,
DsdMax
,
Vec_MemEntryNum
(
p
->
vTtMem
)
);
fprintf
(
pFile
,
"Non-DSD structures = %8d
\n
"
,
CountNonDsdStr
);
fprintf
(
pFile
,
"Non-DSD structures = %8d
\n
"
,
CountNonDsdStr
);
fprintf
(
pFile
,
"Prime objects = %8d
\n
"
,
CountPrime
);
fprintf
(
pFile
,
"Marked objects = %8d
\n
"
,
CountMarked
);
fprintf
(
pFile
,
"Marked objects = %8d
\n
"
,
CountMarked
);
fprintf
(
pFile
,
"Unique table hits = %8d
\n
"
,
p
->
nUniqueHits
);
fprintf
(
pFile
,
"Unique table hits = %8d
\n
"
,
p
->
nUniqueHits
);
fprintf
(
pFile
,
"Unique table misses = %8d
\n
"
,
p
->
nUniqueMisses
);
fprintf
(
pFile
,
"Unique table misses = %8d
\n
"
,
p
->
nUniqueMisses
);
...
...
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