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
df20969b
Commit
df20969b
authored
Sep 02, 2014
by
Shane Snyder
Browse files
Updated iolang to represent delays in ns
parent
70b52419
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/workload/codes-bgp-io-wrkld.c
View file @
df20969b
...
...
@@ -155,7 +155,8 @@ void bgp_io_workload_get_next(int rank, struct codes_workload_op *op)
break
;
case
CODES_WK_DELAY
:
{
op
->
u
.
delay
.
seconds
=
(
next_wrkld
->
next_event
).
var
[
0
];
/* io language represents delays in nanoseconds */
op
->
u
.
delay
.
seconds
=
(
double
)(
next_wrkld
->
next_event
).
var
[
0
]
/
(
1000
*
1000
*
1000
);
}
break
;
case
CODES_WK_END
:
...
...
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