Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
sds
sds-keyval
Commits
848219f0
Commit
848219f0
authored
Oct 20, 2017
by
David Rich
Committed by
Rob Latham
Nov 22, 2017
Browse files
Post-merge fixups.
parent
a137875c
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/kv-server.cc
View file @
848219f0
...
@@ -553,7 +553,7 @@ static hg_return_t bench_handler(hg_handle_t handle)
...
@@ -553,7 +553,7 @@ static hg_return_t bench_handler(hg_handle_t handle)
bench_out
.
result
.
read_time
=
random_insert
.
read_time
;
bench_out
.
result
.
read_time
=
random_insert
.
read_time
;
bench_out
.
result
.
overhead
=
random_insert
.
overhead
;
bench_out
.
result
.
overhead
=
random_insert
.
overhead
;
ret
=
margo_respond
(
handle
,
NULL
);
ret
=
margo_respond
(
handle
,
&
bench_out
);
margo_free_input
(
handle
,
&
bench_in
);
margo_free_input
(
handle
,
&
bench_in
);
margo_destroy
(
handle
);
margo_destroy
(
handle
);
...
...
test/bench-client.cc
View file @
848219f0
...
@@ -62,7 +62,7 @@ int main(int argc, char **argv)
...
@@ -62,7 +62,7 @@ int main(int argc, char **argv)
kv_context
*
context
;
kv_context
*
context
;
size_t
items
=
atoi
(
argv
[
1
]);
size_t
items
=
atoi
(
argv
[
1
]);
context
=
kv_client_register
(
argc
,
argv
);
context
=
kv_client_register
(
NULL
);
kv_open
(
context
,
argv
[
2
],
NULL
,
KV_INT
,
KV_INT
);
kv_open
(
context
,
argv
[
2
],
NULL
,
KV_INT
,
KV_INT
);
RandomInsertSpeedTest
(
context
,
items
,
&
rpc
);
RandomInsertSpeedTest
(
context
,
items
,
&
rpc
);
...
...
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