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
356a4683
Commit
356a4683
authored
Jun 11, 2020
by
Joanne Hugé
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Show total number of measures and add a measure
parent
9612d1e6
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
37 additions
and
32 deletions
+37
-32
measure-analysis/measure-analysis.py
measure-analysis/measure-analysis.py
+4
-1
measure-analysis/measure-report.md
measure-analysis/measure-report.md
+31
-30
measure-analysis/measures/graphs/packet_jitterjitter.png
measure-analysis/measures/graphs/packet_jitterjitter.png
+0
-0
measure-analysis/measures/measure_sets.json
measure-analysis/measures/measure_sets.json
+1
-1
measure-analysis/measures/packet_jitter7.json
measure-analysis/measures/packet_jitter7.json
+1
-0
No files found.
measure-analysis/measure-analysis.py
View file @
356a4683
...
...
@@ -461,6 +461,8 @@ class MeasureSet:
self
.
avg
=
[]
self
.
dev
=
[]
self
.
nb_measures
=
[]
for
prop
in
props
:
enumerate_prop
=
list
(
enumerate
(
prop
))
...
...
@@ -469,6 +471,7 @@ class MeasureSet:
self
.
min
.
append
(
min
(
map
(
lambda
x
:
(
x
[
0
]
-
self
.
middle
)
if
x
[
1
]
else
self
.
max
[
-
1
],
enumerate_prop
)))
sum_prop
=
sum
(
prop
)
self
.
nb_measures
.
append
(
sum_prop
)
avg
=
sum
(
map
(
lambda
x
:
abs
(
x
[
0
]
-
self
.
middle
)
*
x
[
1
],
enumerate_prop
))
/
sum_prop
avg_centered
=
sum
(
map
(
lambda
x
:
x
[
0
]
*
x
[
1
],
enumerate_prop
))
/
sum_prop
...
...
@@ -595,7 +598,7 @@ class MeasureSet:
if
metadata_mask
!=
[]:
metadata_info
=
[
"{}"
.
format
(
self
.
metadata
[
metadata_name
])
for
metadata_name
in
metadata_mask
]
table
+=
[[
"
, "
.
join
(
metadata_info
)]
+
[
" - "
.
join
(
values
[
i
])
for
i
in
range
(
len
(
values
))]]
table
+=
[[
"
{} ({})"
.
format
(
", "
.
join
(
metadata_info
),
", "
.
join
(
map
(
str
,
self
.
nb_measures
))
)]
+
[
" - "
.
join
(
values
[
i
])
for
i
in
range
(
len
(
values
))]]
else
:
table
+=
[[
" - "
.
join
(
values
[
i
])
for
i
in
range
(
len
(
values
))]]
...
...
measure-analysis/measure-report.md
View file @
356a4683
This diff is collapsed.
Click to expand it.
measure-analysis/measures/graphs/packet_jitterjitter.png
View replaced file @
9612d1e6
View file @
356a4683
51 KB
|
W:
|
H:
56.8 KB
|
W:
|
H:
2-up
Swipe
Onion skin
measure-analysis/measures/measure_sets.json
View file @
356a4683
{
"cyclictest_wake-up_latency"
:
{
"ids"
:
[
25
,
26
,
28
,
30
],
"next_id"
:
31
},
"packet_send_timestamps"
:
{
"ids"
:
[
0
,
5
,
6
,
7
],
"next_id"
:
8
},
"packet_recv_timestamps"
:
{
"ids"
:
[
0
,
1
,
2
],
"next_id"
:
3
},
"packet_jitter"
:
{
"ids"
:
[
0
,
3
,
4
,
5
,
6
],
"next_id"
:
7
},
"packet_rtt"
:
{
"ids"
:
[
0
],
"next_id"
:
1
},
"packet_jitter_tcpdump"
:
{
"ids"
:
[
0
,
1
],
"next_id"
:
2
}}
\ No newline at end of file
{
"cyclictest_wake-up_latency"
:
{
"ids"
:
[
25
,
26
,
28
,
30
],
"next_id"
:
31
},
"packet_send_timestamps"
:
{
"ids"
:
[
0
,
5
,
6
,
7
],
"next_id"
:
8
},
"packet_recv_timestamps"
:
{
"ids"
:
[
0
,
1
,
2
],
"next_id"
:
3
},
"packet_jitter"
:
{
"ids"
:
[
0
,
3
,
4
,
5
,
6
,
7
],
"next_id"
:
8
},
"packet_rtt"
:
{
"ids"
:
[
0
],
"next_id"
:
1
},
"packet_jitter_tcpdump"
:
{
"ids"
:
[
0
,
1
],
"next_id"
:
2
}}
\ No newline at end of file
measure-analysis/measures/packet_jitter7.json
0 → 100644
View file @
356a4683
{
"measure_sets"
:
[{
"measure_type"
:
"packet_jitter"
,
"props_names"
:
[
"jitter"
],
"units"
:
[
"us"
],
"middle"
:
327
,
"props"
:
[[
1
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
1
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
1
,
0
,
0
,
0
,
1
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
1
,
1
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
1
,
0
,
0
,
1
,
0
,
1
,
2
,
0
,
0
,
1
,
4
,
0
,
1
,
1
,
4
,
0
,
4
,
3
,
3
,
4
,
6
,
5
,
4
,
3
,
7
,
4
,
6
,
3
,
3
,
3
,
6
,
3
,
1
,
3
,
3
,
7
,
7
,
10
,
9
,
11
,
25
,
23
,
53
,
63
,
89
,
151
,
216
,
319
,
412
,
615
,
785
,
1055
,
1469
,
1982
,
2408
,
3038
,
3666
,
4275
,
4400
,
4793
,
4871
,
4569
,
4054
,
3437
,
2765
,
2185
,
1775
,
1559
,
1401
,
1378
,
1517
,
1714
,
2045
,
2571
,
3137
,
4049
,
5077
,
6544
,
8079
,
9875
,
11367
,
12188
,
12052
,
11682
,
10614
,
9900
,
9956
,
10906
,
12621
,
15561
,
19680
,
24378
,
29812
,
34128
,
37229
,
36986
,
59084
,
19061
,
12629
,
7853
,
5244
,
4354
,
4104
,
4200
,
4629
,
5069
,
5788
,
6922
,
8224
,
10035
,
11531
,
12730
,
12798
,
11827
,
9754
,
7314
,
5324
,
3500
,
2388
,
1756
,
1394
,
1424
,
1374
,
1216
,
1245
,
1167
,
1017
,
1034
,
945
,
958
,
1016
,
1088
,
1421
,
1811
,
2521
,
3223
,
3896
,
4899
,
5259
,
5311
,
5309
,
4885
,
4165
,
3416
,
2679
,
2043
,
1592
,
1193
,
959
,
779
,
722
,
618
,
551
,
429
,
405
,
281
,
218
,
197
,
127
,
100
,
86
,
82
,
73
,
39
,
25
,
25
,
23
,
15
,
12
,
7
,
11
,
8
,
6
,
5
,
9
,
1
,
15
,
3
,
11
,
3
,
3
,
1
,
5
,
4
,
7
,
2
,
7
,
0
,
2
,
1
,
2
,
0
,
3
,
2
,
2
,
2
,
2
,
2
,
3
,
3
,
1
,
1
,
2
,
2
,
2
,
2
,
0
,
2
,
0
,
1
,
2
,
2
,
0
,
0
,
0
,
1
,
1
,
1
,
0
,
0
,
0
,
0
,
0
]],
"props_type"
:
"histogram"
,
"metadata"
:
{
"board"
:
"Onyx"
,
"ker"
:
"4.19"
,
"boot_p"
:
"isolcpus"
,
"i"
:
"1000us"
,
"delta"
:
"none"
,
"prio"
:
"99"
,
"load"
:
"ssh"
,
"duration"
:
"0h11"
,
"qdisc"
:
"pfifo_fast"
,
"etf_offset"
:
"none"
,
"route"
:
"E2E"
}}]}
\ No newline at end of file
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