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
13e49cba
Commit
13e49cba
authored
Feb 21, 2015
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Compiler warnings.
parent
d33d66f4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
src/base/cba/cba.h
+9
-9
No files found.
src/base/cba/cba.h
View file @
13e49cba
...
...
@@ -695,15 +695,15 @@ static inline void Cba_NtkFree( Cba_Ntk_t * p )
static
inline
int
Cba_NtkMemory
(
Cba_Ntk_t
*
p
)
{
int
nMem
=
sizeof
(
Cba_Ntk_t
);
nMem
+=
Vec_IntMemory
(
&
p
->
vInputs
);
nMem
+=
Vec_IntMemory
(
&
p
->
vOutputs
);
nMem
+=
Vec_IntMemory
(
&
p
->
vInfo
);
nMem
+=
Vec_StrMemory
(
&
p
->
vType
);
nMem
+=
Vec_IntMemory
(
&
p
->
vFanin
);
nMem
+=
Vec_IntMemory
(
&
p
->
vIndex
);
nMem
+=
Vec_IntMemory
(
&
p
->
vName
);
nMem
+=
Vec_IntMemory
(
&
p
->
vFanout
);
nMem
+=
Vec_IntMemory
(
&
p
->
vCopy
);
nMem
+=
(
int
)
Vec_IntMemory
(
&
p
->
vInputs
);
nMem
+=
(
int
)
Vec_IntMemory
(
&
p
->
vOutputs
);
nMem
+=
(
int
)
Vec_IntMemory
(
&
p
->
vInfo
);
nMem
+=
(
int
)
Vec_StrMemory
(
&
p
->
vType
);
nMem
+=
(
int
)
Vec_IntMemory
(
&
p
->
vFanin
);
nMem
+=
(
int
)
Vec_IntMemory
(
&
p
->
vIndex
);
nMem
+=
(
int
)
Vec_IntMemory
(
&
p
->
vName
);
nMem
+=
(
int
)
Vec_IntMemory
(
&
p
->
vFanout
);
nMem
+=
(
int
)
Vec_IntMemory
(
&
p
->
vCopy
);
return
nMem
;
}
static
inline
void
Cba_NtkPrintStats
(
Cba_Ntk_t
*
p
)
...
...
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