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
144cb439
Commit
144cb439
authored
Jun 04, 2020
by
Joanne Hugé
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'measure-analysis' into packet-exchange
parents
40d22355
f9511abf
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
6 deletions
+7
-6
measure-analysis/measure-analysis.py
measure-analysis/measure-analysis.py
+2
-1
measure-analysis/measures/measure-report.md
measure-analysis/measures/measure-report.md
+5
-5
No files found.
measure-analysis/measure-analysis.py
View file @
144cb439
...
@@ -356,11 +356,12 @@ class MeasureSet:
...
@@ -356,11 +356,12 @@ class MeasureSet:
sum_prop
=
sum
(
prop
)
sum_prop
=
sum
(
prop
)
avg
=
sum
(
map
(
lambda
x
:
abs
(
x
[
0
]
-
self
.
middle
)
*
x
[
1
],
enumerate_prop
))
/
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
var
=
0
var
=
0
for
x
,
p
in
enumerate_prop
:
for
x
,
p
in
enumerate_prop
:
var
+=
p
*
x
**
2
var
+=
p
*
x
**
2
var
/=
sum_prop
var
/=
sum_prop
var
-=
(
avg
+
self
.
middle
)
**
2
var
-=
avg_centered
**
2
self
.
avg
.
append
(
avg
)
self
.
avg
.
append
(
avg
)
self
.
var
.
append
(
var
)
self
.
var
.
append
(
var
)
...
...
measure-analysis/measures/measure-report.md
View file @
144cb439
...
@@ -56,11 +56,11 @@ Min | Max | Avg
...
@@ -56,11 +56,11 @@ Min | Max | Avg
**Common test metadata:**
Board name: Slate, Linux kernel version: 4.19, Boot Parameters: isolcpus, ETF qdisc delta: 200us, Task priority: 99, Device and processor load: ssh, qdisc: pfast_fifo
**Common test metadata:**
Board name: Slate, Linux kernel version: 4.19, Boot Parameters: isolcpus, ETF qdisc delta: 200us, Task priority: 99, Device and processor load: ssh, qdisc: pfast_fifo
Metadata | Min | Max | Avg | Var
Metadata | Min | Max | Avg | Var
--------------- | ----------- | ---------- | ---------- | ----------
--
--------------- | ----------- | ---------- | ---------- | ----------
**i, duration**
|
**jitter**
|
**jitter**
|
**jitter**
|
**jitter**
**i, duration**
|
**jitter**
|
**jitter**
|
**jitter**
|
**jitter**
100000us, 0h17 | -139.0000us | 147.0000us | 10.4314us |
-2817.6483
us
100000us, 0h17 | -139.0000us | 147.0000us | 10.4314us |
252.7494
us
1000us, 0h1 | -140.0000us | 142.0000us | 5.1925us |
-1408.4847us
1000us, 0h1 | -140.0000us | 142.0000us | 5.1925us |
50.2992us
![
alt text
](
graphs/packet_jitterjitter.png
"packet_jitter Graph"
)
![
alt text
](
graphs/packet_jitterjitter.png
"packet_jitter Graph"
)
...
...
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