Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
T
tsn-measures
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
tsn-measures
Commits
615c354e
Commit
615c354e
authored
Aug 26, 2020
by
Joanne Hugé
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'measure-analysis' into dev
parents
0125d4fc
d5849129
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
2 deletions
+1
-2
measure-analysis/measure-analysis.py
measure-analysis/measure-analysis.py
+1
-2
measure-analysis/measures/graphs/cyclictest_wake-up_latencyWake-up latency.png
...ures/graphs/cyclictest_wake-up_latencyWake-up latency.png
+0
-0
No files found.
measure-analysis/measure-analysis.py
View file @
615c354e
...
@@ -227,7 +227,7 @@ class MeasureSetHandler:
...
@@ -227,7 +227,7 @@ class MeasureSetHandler:
for
mid
in
self
.
measure_sets
[
mtype
][
'ids'
]:
for
mid
in
self
.
measure_sets
[
mtype
][
'ids'
]:
measure
=
self
.
get_measure_set
(
"{}{}"
.
format
(
mtype
,
mid
))
measure
=
self
.
get_measure_set
(
"{}{}"
.
format
(
mtype
,
mid
))
# Measures with lost packets are not relevant to graph
# Measures with lost packets are not relevant to graph
if
'lost_packets'
not
in
measure
.
metadata
or
measure
.
metadata
[
'lost_packets'
]
==
0
:
if
measure
.
metadata
[
'lost_packets'
]
==
"0"
:
measures
.
append
(
measure
)
measures
.
append
(
measure
)
mids
.
append
(
mid
)
mids
.
append
(
mid
)
if
len
(
measures
)
==
0
:
if
len
(
measures
)
==
0
:
...
@@ -276,7 +276,6 @@ class MeasureSetHandler:
...
@@ -276,7 +276,6 @@ class MeasureSetHandler:
fig
.
set_size_inches
(
15.0
,
8.0
)
fig
.
set_size_inches
(
15.0
,
8.0
)
# Save the graph
# Save the graph
plt
.
savefig
(
"{}/{}{}.png"
.
format
(
MeasureSetHandler
.
graphs_dir
,
mtype
,
prop_name
))
plt
.
savefig
(
"{}/{}{}.png"
.
format
(
MeasureSetHandler
.
graphs_dir
,
mtype
,
prop_name
))
plt
.
clf
()
plt
.
clf
()
...
...
measure-analysis/measures/graphs/cyclictest_wake-up_latencyWake-up latency.png
0 → 100644
View file @
615c354e
32.8 KB
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