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
Xin Wang
codes-dev
Commits
14a299b8
Commit
14a299b8
authored
Aug 27, 2015
by
Misbah Mubarak
Browse files
update to next packet generate event time
parent
5574637a
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/models/networks/model-net/dragonfly.c
View file @
14a299b8
...
...
@@ -141,6 +141,9 @@ struct terminal_state
const
char
*
anno
;
const
dragonfly_param
*
params
;
/* self suspend mode to the dragonfly */
int
suspend
;
};
/* terminal event type (1-4) */
...
...
@@ -727,7 +730,7 @@ static void packet_generate_send(terminal_state * s,
void
*
m_gen_data
;
/* Keep the packet generate event a little behind packet send */
ts
=
ts
+
codes_local_latency
(
lp
);
ts
=
codes_local_latency
(
lp
);
e_gen
=
model_net_method_event_new
(
lp
->
gid
,
ts
,
lp
,
DRAGONFLY
,
(
void
**
)
&
m_gen
,(
void
**
)
&
m_gen_data
);
...
...
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