Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
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
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
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
OpenXG
OpenXG-RAN
Commits
d90f9d8d
Commit
d90f9d8d
authored
Feb 28, 2022
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CI: show correct Tx Processing in HTML, add processing count number
parent
823aaa70
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
20 additions
and
29 deletions
+20
-29
ci-scripts/datalog_rt_stats.2x2.yaml
ci-scripts/datalog_rt_stats.2x2.yaml
+4
-7
ci-scripts/datalog_rt_stats.default.yaml
ci-scripts/datalog_rt_stats.default.yaml
+4
-7
ci-scripts/html.py
ci-scripts/html.py
+6
-8
ci-scripts/ran.py
ci-scripts/ran.py
+3
-2
ci-scripts/stats_monitor_conf.yaml
ci-scripts/stats_monitor_conf.yaml
+3
-5
No files found.
ci-scripts/datalog_rt_stats.2x2.yaml
View file @
d90f9d8d
...
...
@@ -4,16 +4,14 @@
Title
:
Processing Time (us)
ColNames
:
-
Metric
-
Average
-
Max
-
Average vs Reference Deviation (Reference Value ; Acceptability Threshold)
-
Average; Max; Count
-
Average vs Reference Deviation (Reference Value; Acceptability Threshold)
Ref
:
feprx
:
120.0
feptx_prec
:
8.0
feptx_ofdm
:
50.0
feptx_total
:
75.0
L1 Tx processing thread 0
:
300.0
L1 Tx processing thread 1
:
300.0
L1 Tx processing
:
300.0
DLSCH encoding
:
230.0
L1 Rx processing
:
175.0
PUSCH inner-receiver
:
100.0
...
...
@@ -25,8 +23,7 @@ Threshold :
feptx_prec
:
1.25
feptx_ofdm
:
1.25
feptx_total
:
1.25
L1 Tx processing thread 0
:
1.25
L1 Tx processing thread 1
:
1.25
L1 Tx processing
:
1.25
DLSCH encoding
:
1.25
L1 Rx processing
:
1.25
PUSCH inner-receiver
:
1.25
...
...
ci-scripts/datalog_rt_stats.default.yaml
View file @
d90f9d8d
...
...
@@ -4,16 +4,14 @@
Title
:
Processing Time (us)
ColNames
:
-
Metric
-
Average
-
Max
-
Average vs Reference Deviation (Reference Value ; Acceptability Threshold)
-
Average; Max; Count
-
Average vs Reference Deviation (Reference Value; Acceptability Threshold)
Ref
:
feprx
:
60.0
feptx_prec
:
8.0
feptx_ofdm
:
50.0
feptx_total
:
75.0
L1 Tx processing thread 0
:
300.0
L1 Tx processing thread 1
:
300.0
L1 Tx processing
:
300.0
DLSCH encoding
:
230.0
L1 Rx processing
:
175.0
PUSCH inner-receiver
:
100.0
...
...
@@ -25,8 +23,7 @@ Threshold :
feptx_prec
:
1.25
feptx_ofdm
:
1.25
feptx_total
:
1.25
L1 Tx processing thread 0
:
1.25
L1 Tx processing thread 1
:
1.25
L1 Tx processing
:
1.25
DLSCH encoding
:
1.25
L1 Rx processing
:
1.25
PUSCH inner-receiver
:
1.25
...
...
ci-scripts/html.py
View file @
d90f9d8d
...
...
@@ -478,21 +478,19 @@ class HTMLManagement():
self
.
htmlFile
.
write
(
' </tr>
\n
'
)
self
.
htmlFile
.
write
(
' <tr bgcolor = "#33CCFF" >
\n
'
)
self
.
htmlFile
.
write
(
' <th colspan="3">'
+
DataLog
[
'ColNames'
][
0
]
+
'</th>
\n
'
)
self
.
htmlFile
.
write
(
' <th>'
+
DataLog
[
'ColNames'
][
1
]
+
'</th>
\n
'
)
self
.
htmlFile
.
write
(
' <th>'
+
DataLog
[
'ColNames'
][
2
]
+
'</th>
\n
'
)
self
.
htmlFile
.
write
(
' <th colspan='
+
str
(
1
+
self
.
htmlUEConnected
)
+
'>'
+
DataLog
[
'ColNames'
][
3
]
+
'</th>
\n
'
)
self
.
htmlFile
.
write
(
' <th colspan="2">'
+
DataLog
[
'ColNames'
][
1
]
+
'</th>
\n
'
)
self
.
htmlFile
.
write
(
' <th colspan='
+
str
(
1
+
self
.
htmlUEConnected
)
+
'>'
+
DataLog
[
'ColNames'
][
2
]
+
'</th>
\n
'
)
self
.
htmlFile
.
write
(
' </tr>
\n
'
)
for
k
in
DataLog
[
'Data'
]:
# TestRow
self
.
htmlFile
.
write
(
' <tr>
\n
'
)
self
.
htmlFile
.
write
(
' <td colspan="3" bgcolor = "lightcyan" >'
+
k
+
' </td>
\n
'
)
self
.
htmlFile
.
write
(
' <td bgcolor = "lightcyan" >'
+
DataLog
[
'Data'
][
k
][
0
]
+
' </td>
\n
'
)
self
.
htmlFile
.
write
(
' <td bgcolor = "lightcyan" >'
+
DataLog
[
'Data'
][
k
][
1
]
+
' </td>
\n
'
)
if
float
(
DataLog
[
'Data'
][
k
][
2
])
>
DataLog
[
'Threshold'
][
k
]:
self
.
htmlFile
.
write
(
' <th bgcolor = "red" >'
+
DataLog
[
'Data'
][
k
][
2
]
+
' (Ref = '
+
str
(
DataLog
[
'Ref'
][
k
])
+
' ; Thres = '
+
str
(
DataLog
[
'Threshold'
][
k
])
+
') '
+
'</th>
\n
'
)
self
.
htmlFile
.
write
(
' <td bgcolor = "lightcyan" >'
+
DataLog
[
'Data'
][
k
][
0
]
+
'; '
+
DataLog
[
'Data'
][
k
][
1
]
+
'; '
+
DataLog
[
'Data'
][
k
][
2
]
+
' </td>
\n
'
)
if
float
(
DataLog
[
'Data'
][
k
][
3
])
>
DataLog
[
'Threshold'
][
k
]:
self
.
htmlFile
.
write
(
' <th bgcolor = "red" >'
+
DataLog
[
'Data'
][
k
][
3
]
+
' (Ref = '
+
str
(
DataLog
[
'Ref'
][
k
])
+
' ; Thres = '
+
str
(
DataLog
[
'Threshold'
][
k
])
+
') '
+
'</th>
\n
'
)
else
:
self
.
htmlFile
.
write
(
' <th bgcolor = "green" ><font color="white">'
+
DataLog
[
'Data'
][
k
][
2
]
+
' (Ref = '
+
str
(
DataLog
[
'Ref'
][
k
])
+
' ; Thres = '
+
str
(
DataLog
[
'Threshold'
][
k
])
+
') '
+
'</th>
\n
'
)
self
.
htmlFile
.
write
(
' <th bgcolor = "green" ><font color="white">'
+
DataLog
[
'Data'
][
k
][
3
]
+
' (Ref = '
+
str
(
DataLog
[
'Ref'
][
k
])
+
' ; Thres = '
+
str
(
DataLog
[
'Threshold'
][
k
])
+
') '
+
'</th>
\n
'
)
self
.
htmlFile
.
write
(
' </tr>
\n
'
)
self
.
htmlFile
.
close
()
...
...
ci-scripts/ran.py
View file @
d90f9d8d
...
...
@@ -1125,12 +1125,13 @@ class RANManagement():
datalog_rt_stats
[
'Data'
]
=
{}
if
len
(
real_time_stats
)
!=
0
:
#check if dictionary is not empty
for
k
in
real_time_stats
:
tmp
=
re
.
match
(
r'^(?P<metric>.*):\s+(?P<avg>\d+\.\d+) us;\s+
\d+
;\s+(?P<max>\d+\.\d+) us;'
,
real_time_stats
[
k
])
tmp
=
re
.
match
(
r'^(?P<metric>.*):\s+(?P<avg>\d+\.\d+) us;\s+
(?P<count>\d+)
;\s+(?P<max>\d+\.\d+) us;'
,
real_time_stats
[
k
])
if
tmp
is
not
None
:
metric
=
tmp
.
group
(
'metric'
)
avg
=
float
(
tmp
.
group
(
'avg'
))
max
=
float
(
tmp
.
group
(
'max'
))
datalog_rt_stats
[
'Data'
][
metric
]
=
[
"{:.0f}"
.
format
(
avg
),
"{:.0f}"
.
format
(
max
),
"{:.2f}"
.
format
(
avg
/
datalog_rt_stats
[
'Ref'
][
metric
])]
count
=
float
(
tmp
.
group
(
'count'
))
datalog_rt_stats
[
'Data'
][
metric
]
=
[
"{:.0f}"
.
format
(
avg
),
"{:.0f}"
.
format
(
max
),
"{:d}"
.
format
(
count
),
"{:.2f}"
.
format
(
avg
/
datalog_rt_stats
[
'Ref'
][
metric
])]
#once all metrics are collected, store the data as a class attribute to build a dedicated HTML table afterward
self
.
datalog_rt_stats
=
datalog_rt_stats
#check if there is a fail => will render the test as failed
...
...
ci-scripts/stats_monitor_conf.yaml
View file @
d90f9d8d
...
...
@@ -20,8 +20,7 @@ gnb :
feptx_prec
:
feptx_ofdm
:
feptx_total
:
L1 Tx processing thread 0
:
L1 Tx processing thread 1
:
L1 Tx processing
:
DLSCH encoding
:
L1 Rx processing
:
PUSCH inner-receiver
:
...
...
@@ -40,12 +39,11 @@ gnb :
rt.feptx_ofdm
:
rt.feptx_total
:
page3
:
rt.L1 Tx processing thread 0
:
rt.L1 Tx processing thread 1
:
rt.L1 Tx processing
:
rt.DLSCH encoding
:
rt.L1 Rx processing
:
page4
:
rt.PUSCH inner-receiver
:
rt.PUSCH decoding
:
rt.DL & UL scheduling timing stats
:
rt.UL Indication
:
\ No newline at end of file
rt.UL Indication
:
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