Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
codes
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
38
Issues
38
List
Boards
Labels
Milestones
Merge Requests
8
Merge Requests
8
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
codes
codes
Commits
588210f2
Commit
588210f2
authored
Dec 13, 2016
by
Noah Wolfe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixing Slim Fly mean_interval calculation for synthetic workloads
parent
9cb2bf2d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/network-workloads/model-net-synthetic-slimfly.c
src/network-workloads/model-net-synthetic-slimfly.c
+2
-2
No files found.
src/network-workloads/model-net-synthetic-slimfly.c
View file @
588210f2
...
...
@@ -230,11 +230,11 @@ static void issue_event(
}
if
(
load
!=
0
)
{
MEAN_INTERVAL
=
bytes_to_ns
(
this_packet_size
,
load
*
this_global_bandwidth
)
+
this_link_delay
;
MEAN_INTERVAL
=
bytes_to_ns
(
this_packet_size
,
load
*
this_global_bandwidth
);
}
/* skew each kickoff event slightly to help avoid event ties later on */
kickoff_time
=
g_tw_lookahead
+
MEAN_INTERVAL
+
tw_rand_exponential
(
lp
->
rng
,
(
double
)
MEAN_INTERVAL
/
100
);
kickoff_time
=
g_tw_lookahead
+
tw_rand_exponential
(
lp
->
rng
,
MEAN_INTERVAL
);
e
=
tw_event_new
(
lp
->
gid
,
kickoff_time
,
lp
);
m
=
tw_event_data
(
e
);
...
...
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