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
sds
ssg
Commits
66c23511
Commit
66c23511
authored
Jan 29, 2018
by
Philip Carns
Browse files
show transfer size in output
parent
6bd6f0e2
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/perf-regression/margo-p2p-bw.c
View file @
66c23511
...
...
@@ -498,10 +498,11 @@ static void bw_ult(hg_handle_t handle)
((
hg_size_t
*
)
g_buffer
)[
x
]
=
x
+
1
;
}
printf
(
"<op>
\t
<concurrency>
\t
<threads>
\t
<bytes>
\t
<seconds>
\t
<MiB/s>
\n
"
);
printf
(
"PULL
\t
%d
\t
%d
\t
%lu
\t
%f
\t
%f
\n
"
,
printf
(
"<op>
\t
<concurrency>
\t
<threads>
\t
<
xfer_size>
\t
<total_
bytes>
\t
<seconds>
\t
<MiB/s>
\n
"
);
printf
(
"PULL
\t
%d
\t
%d
\t
%
d
\t
%
lu
\t
%f
\t
%f
\n
"
,
g_opts
.
concurrency
,
g_opts
.
threads
,
g_opts
.
xfer_size
,
bytes_moved
,
(
end_ts
-
start_time
),
((
double
)
bytes_moved
/
(
end_ts
-
start_time
))
/
(
1024
.
0
*
1024
.
0
));
...
...
@@ -538,9 +539,10 @@ static void bw_ult(hg_handle_t handle)
end_ts
=
arg_array
[
i
].
end_ts
;
}
printf
(
"PUSH
\t
%d
\t
%d
\t
%lu
\t
%f
\t
%f
\n
"
,
printf
(
"PUSH
\t
%d
\t
%d
\t
%
d
\t
%
lu
\t
%f
\t
%f
\n
"
,
g_opts
.
concurrency
,
g_opts
.
threads
,
g_opts
.
xfer_size
,
bytes_moved
,
(
end_ts
-
start_time
),
((
double
)
bytes_moved
/
(
end_ts
-
start_time
))
/
(
1024
.
0
*
1024
.
0
));
...
...
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