Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
codes
codes
Commits
99b156fd
Commit
99b156fd
authored
Aug 23, 2018
by
Nikhil
Browse files
Bug fixes in on-node and 2level-ftree
Change-Id: I478d26d50653736b64a1d1b2906b592a1fa24688
parent
84bd42a0
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/networks/model-net/fattree.c
View file @
99b156fd
...
...
@@ -817,7 +817,7 @@ static void fattree_read_config(const char * anno, fattree_param *p){
p
->
l0_term_size
=
(
p
->
tapering_ratio
-
1
)
*
(
p
->
switch_radix
[
0
]
/
p
->
tapering_ratio
);
if
(
p
->
num_levels
==
2
)
{
p
->
num_switches
[
1
]
=
p
->
num_switches
[
0
]
/
p
->
tapering_ratio
/
2
;
p
->
num_switches
[
1
]
=
p
->
num_switches
[
0
]
/
p
->
tapering_ratio
;
p
->
switch_radix
[
1
]
=
p
->
switch_radix
[
0
];
p
->
l1_set_size
=
p
->
num_switches
[
1
];
p
->
l1_term_size
=
num_terminals
;
...
...
src/networks/model-net/model-net-lp.c
View file @
99b156fd
...
...
@@ -645,7 +645,7 @@ void handle_new_msg(
exp_time
+=
r
->
msg_size
*
codes_cn_delay
;
exp_time
-=
tw_now
(
lp
);
tw_stime
delay
=
codes_local_latency
(
lp
);
ns
->
node_copy_next_available_time
[
queue
]
=
exp_time
;
ns
->
node_copy_next_available_time
[
queue
]
=
tw_now
(
lp
)
+
exp_time
;
int
remote_event_size
=
r
->
remote_event_size
;
int
self_event_size
=
r
->
self_event_size
;
void
*
e_msg
=
(
m
+
1
);
...
...
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