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
3676f17d
Commit
3676f17d
authored
Jun 03, 2020
by
Joanne Hugé
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add timestamping measure
parent
d4513bf4
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
17 additions
and
3 deletions
+17
-3
measure-analysis/measure-analysis.py
measure-analysis/measure-analysis.py
+2
-2
measure-analysis/measures/graphs/packet_timestampskernel_space.png
...nalysis/measures/graphs/packet_timestampskernel_space.png
+0
-0
measure-analysis/measures/graphs/packet_timestampsuser_space.png
...-analysis/measures/graphs/packet_timestampsuser_space.png
+0
-0
measure-analysis/measures/measure-report.md
measure-analysis/measures/measure-report.md
+13
-0
measure-analysis/measures/measure_sets.json
measure-analysis/measures/measure_sets.json
+1
-1
measure-analysis/measures/packet_timestamps0.json
measure-analysis/measures/packet_timestamps0.json
+1
-0
No files found.
measure-analysis/measure-analysis.py
View file @
3676f17d
...
...
@@ -509,9 +509,9 @@ def parse_args():
measure_set
=
MeasureSet
()
if
args
.
c
:
measure_set
.
import_from_json
(
args
.
i
[
0
],
cyclictest
=
True
,
user
I
nput
=
True
)
measure_set
.
import_from_json
(
args
.
i
[
0
],
cyclictest
=
True
,
user
_i
nput
=
True
)
else
:
measure_set
.
import_from_json
(
args
.
i
[
0
],
flat
=
True
,
user
I
nput
=
True
)
measure_set
.
import_from_json
(
args
.
i
[
0
],
flat
=
True
,
user
_i
nput
=
True
)
ms_handler
.
add_measure_set
(
measure_set
)
...
...
measure-analysis/measures/graphs/packet_timestampskernel_space.png
0 → 100644
View file @
3676f17d
24.8 KB
measure-analysis/measures/graphs/packet_timestampsuser_space.png
0 → 100644
View file @
3676f17d
21.1 KB
measure-analysis/measures/measure-report.md
View file @
3676f17d
...
...
@@ -23,4 +23,17 @@ Emerald | 0.0000us | 112.0000us | 19.5352us | 4.
![
alt text
](
graphs/cyclictest_wake-up_latencywake-up
latency.png "cyclictest_wake-up_latency Graph")
### packet_timestamps results
**Common test metadata:**
Board name: Slate, Linux kernel version: 4.19, Boot Parameters: isolcpus, Interval: 1000us, ETF qdisc delta: 200us, Task priority: 99, Device and processor load: ssh, Test duration: 1h00, qdisc: pfifo_fast
Min | Max | Avg | Var
----------------------------- | ----------------------------- | ----------------------------- | -----------------------------
**user_space - kernel_space**
|
**user_space - kernel_space**
|
**user_space - kernel_space**
|
**user_space - kernel_space**
0.
0000us - 0.0000us | 12.0000us - 222.0000us | 2.0360us - 36.6218us | 0.0493us - 9.1563us
![
alt text
](
graphs/packet_timestampsuser_space.png
"packet_timestamps Graph"
)
![
alt text
](
graphs/packet_timestampskernel_space.png
"packet_timestamps Graph"
)
measure-analysis/measures/measure_sets.json
View file @
3676f17d
{
"cyclictest_wake-up_latency"
:
{
"ids"
:
[
25
,
26
],
"next_id"
:
28
}}
\ No newline at end of file
{
"cyclictest_wake-up_latency"
:
{
"ids"
:
[
25
,
26
],
"next_id"
:
28
},
"packet_timestamps"
:
{
"ids"
:
[
0
],
"next_id"
:
1
}}
\ No newline at end of file
measure-analysis/measures/packet_timestamps0.json
0 → 100644
View file @
3676f17d
{
"measure_type"
:
"packet_timestamps"
,
"props_names"
:
[
"user_space"
,
"kernel_space"
],
"units"
:
[
"us"
,
"us"
],
"props"
:
[[
0
,
18942
,
4860222
,
185325
,
1632
,
2185
,
1254
,
189
,
20
,
8
,
2
,
1
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550284
,
262494
,
124735
,
61914
,
30606
,
14059
,
6103
,
2791
,
1629
,
1459
,
1703
,
1811
,
1949
,
1641
,
1452
,
985
,
694
,
406
,
251
,
156
,
110
,
90
,
79
,
62
,
60
,
60
,
30
,
29
,
29
,
20
,
25
,
24
,
25
,
29
,
24
,
21
,
27
,
33
,
27
,
32
,
15
,
27
,
19
,
25
,
21
,
24
,
27
,
23
,
32
,
35
,
46
,
28
,
30
,
29
,
32
,
28
,
42
,
33
,
43
,
51
,
60
,
78
,
80
,
83
,
94
,
110
,
115
,
155
,
166
,
177
,
193
,
202
,
190
,
154
,
184
,
156
,
152
,
138
,
137
,
126
,
120
,
104
,
102
,
100
,
92
,
87
,
95
,
82
,
63
,
63
,
55
,
59
,
56
,
60
,
50
,
74
,
53
,
70
,
53
,
45
,
31
,
23
,
15
,
25
,
13
,
17
,
6
,
7
,
2
,
5
,
1
,
2
,
2
,
6
,
2
,
2
,
2
,
0
,
3
,
4
,
2
,
1
,
1
,
0
,
0
,
1
,
0
,
0
,
0
,
0
,
2
,
1
,
0
,
0
,
0
,
0
,
0
,
2
,
2
,
0
,
0
,
0
,
1
,
0
,
0
,
0
,
0
,
1
,
0
,
0
,
1
,
0
,
0
,
0
,
1
,
0
,
0
,
2
,
0
,
1
,
1
,
0
,
0
,
0
,
2
,
0
,
1
,
0
,
0
,
1
,
0
,
0
,
1
,
0
,
1
,
1
,
1
,
0
,
1
,
0
,
1
,
0
,
1
,
0
,
1
,
0
,
0
,
0
,
0
]],
"props_type"
:
"histogram"
,
"metadata"
:
{
"board"
:
"Slate"
,
"ker"
:
"4.19"
,
"boot_p"
:
"isolcpus"
,
"i"
:
"1000us"
,
"delta"
:
"200us"
,
"prio"
:
"99"
,
"load"
:
"ssh"
,
"duration"
:
"1h00"
,
"qdisc"
:
"pfifo_fast"
}}
\ 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