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
sds
ssg
Commits
0d24eed9
Commit
0d24eed9
authored
Feb 11, 2018
by
Philip Carns
Browse files
bug fix to offset logic near bulk boundary
parent
bceb3a68
Changes
1
Show whitespace changes
Inline
Side-by-side
tests/perf-regression/margo-p2p-bw.c
View file @
0d24eed9
...
...
@@ -627,7 +627,7 @@ static void bw_worker(void *_arg)
ABT_mutex_spinlock
(
*
arg
->
cur_off_mutex
);
my_off
=
*
arg
->
cur_off
;
(
*
arg
->
cur_off
)
+=
g_opts
.
xfer_size
;
if
(
*
arg
->
cur_off
>
g_buffer_size
)
if
(
((
*
arg
->
cur_off
)
+
g_opts
.
xfer_size
)
>
g_buffer_size
)
*
arg
->
cur_off
=
0
;
ABT_mutex_unlock
(
*
arg
->
cur_off_mutex
);
...
...
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