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
d5849129
Commit
d5849129
authored
Aug 26, 2020
by
Joanne Hugé
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix bug preventing graph from being generated
parent
b117373c
Changes
2
Show 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 @
d5849129
...
...
@@ -227,7 +227,7 @@ class MeasureSetHandler:
for
mid
in
self
.
measure_sets
[
mtype
][
'ids'
]:
measure
=
self
.
get_measure_set
(
"{}{}"
.
format
(
mtype
,
mid
))
# 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
)
mids
.
append
(
mid
)
if
len
(
measures
)
==
0
:
...
...
@@ -276,7 +276,6 @@ class MeasureSetHandler:
fig
.
set_size_inches
(
15.0
,
8.0
)
# Save the graph
plt
.
savefig
(
"{}/{}{}.png"
.
format
(
MeasureSetHandler
.
graphs_dir
,
mtype
,
prop_name
))
plt
.
clf
()
...
...
measure-analysis/measures/graphs/cyclictest_wake-up_latencyWake-up latency.png
0 → 100644
View file @
d5849129
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