Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SWIFT
SWIFTsim
Commits
b33f414d
Commit
b33f414d
authored
Aug 08, 2017
by
Matthieu Schaller
Browse files
Code formatting
parent
e2650d1d
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/debug.c
View file @
b33f414d
...
...
@@ -514,6 +514,6 @@ void printProcMemUse() {
long
dt
;
getProcMemUse
(
&
size
,
&
resident
,
&
share
,
&
trs
,
&
lrs
,
&
drs
,
&
dt
);
printf
(
"## VIRT = %ld , RES = %ld , SHR = %ld , CODE = %ld, DATA = %ld
\n
"
,
size
,
resident
,
share
,
trs
,
drs
);
size
,
resident
,
share
,
trs
,
drs
);
fflush
(
stdout
);
}
src/space.c
View file @
b33f414d
...
...
@@ -257,8 +257,8 @@ void space_rebuild_recycle_mapper(void *map_data, int num_elements,
* @brief Free up any allocated cells.
*/
void
space_free_cells
(
struct
space
*
s
)
{
threadpool_map
(
&
s
->
e
->
threadpool
,
space_rebuild_recycle_mapper
,
s
->
cells_top
,
s
->
nr_cells
,
sizeof
(
struct
cell
),
0
,
s
);
threadpool_map
(
&
s
->
e
->
threadpool
,
space_rebuild_recycle_mapper
,
s
->
cells_top
,
s
->
nr_cells
,
sizeof
(
struct
cell
),
0
,
s
);
s
->
maxdepth
=
0
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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