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
codes
codes
Commits
1bc73715
Commit
1bc73715
authored
Jan 30, 2017
by
Caitlin Ross
Browse files
correcting arguments in event tracing functions
parent
eacc20a4
Changes
3
Hide whitespace changes
Inline
Side-by-side
src/network-workloads/model-net-mpi-replay.c
View file @
1bc73715
...
...
@@ -1563,7 +1563,7 @@ static void nw_add_lp_type()
* can have a different function for rbev_trace_f and ev_trace_f
* but right now it is set to the same function for both
*/
void
nw_lp_event_collect
(
nw_message
*
m
,
tw_lp
*
lp
,
char
*
buffer
)
void
nw_lp_event_collect
(
nw_message
*
m
,
tw_lp
*
lp
,
char
*
buffer
,
int
*
collect_flag
)
{
int
type
=
m
->
msg_type
;
memcpy
(
buffer
,
&
type
,
sizeof
(
type
));
...
...
src/network-workloads/model-net-synthetic.c
View file @
1bc73715
...
...
@@ -110,7 +110,7 @@ tw_lptype svr_lp = {
* can have a different function for rbev_trace_f and ev_trace_f
* but right now it is set to the same function for both
*/
void
svr_event_collect
(
svr_msg
*
m
,
tw_lp
*
lp
,
char
*
buffer
)
void
svr_event_collect
(
svr_msg
*
m
,
tw_lp
*
lp
,
char
*
buffer
,
int
*
collect_flag
)
{
int
type
=
(
int
)
m
->
svr_event_type
;
memcpy
(
buffer
,
&
type
,
sizeof
(
type
));
...
...
src/networks/model-net/dragonfly.c
View file @
1bc73715
...
...
@@ -3265,7 +3265,7 @@ tw_lptype dragonfly_lps[] =
};
/* For ROSS event tracing */
void
dragonfly_event_collect
(
terminal_message
*
m
,
tw_lp
*
lp
,
char
*
buffer
)
void
dragonfly_event_collect
(
terminal_message
*
m
,
tw_lp
*
lp
,
char
*
buffer
,
int
*
collect_flag
)
{
int
type
=
(
int
)
m
->
type
;
memcpy
(
buffer
,
&
type
,
sizeof
(
type
));
...
...
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