Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ycai
simbricks
Commits
90b2ec87
"...composable_kernel_rocm.git" did not exist on "e8cddfdc3bc7fbdec765ee0bfbb391ef7173b455"
Commit
90b2ec87
authored
Dec 08, 2020
by
Antoine Kaufmann
Browse files
results/udp_scale: generate easier format for gnuplot
parent
3fd38de1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
results/udp_scale.py
results/udp_scale.py
+5
-5
No files found.
results/udp_scale.py
View file @
90b2ec87
...
@@ -18,15 +18,15 @@ for cl in types_of_client:
...
@@ -18,15 +18,15 @@ for cl in types_of_client:
try
:
try
:
log
=
open
(
log_path
,
'r'
)
log
=
open
(
log_path
,
'r'
)
except
:
except
:
print
(
f
'no file:
{
log_path
}
'
)
diff_time
=
''
continue
else
:
else
:
exp_log
=
json
.
load
(
log
)
exp_log
=
json
.
load
(
log
)
start_time
=
exp_log
[
"start_time"
]
start_time
=
exp_log
[
"start_time"
]
end_time
=
exp_log
[
"end_time"
]
end_time
=
exp_log
[
"end_time"
]
diff_time
=
(
end_time
-
start_time
)
/
60
#min
diff_time
=
(
end_time
-
start_time
)
/
60
#min
diff_time
=
str
(
diff_time
)
print
(
diff_time
)
log
.
close
()
log
.
close
()
print
(
'%d
\t
%s'
%
(
cl
,
diff_time
))
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