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
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
wangjie
OpenXG-RAN
Commits
80b89510
Commit
80b89510
authored
Oct 17, 2019
by
Laurent
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add cu and full loop measurements
parent
61041b42
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
3 deletions
+17
-3
executables/main-fs6.c
executables/main-fs6.c
+17
-3
No files found.
executables/main-fs6.c
View file @
80b89510
...
@@ -1464,11 +1464,22 @@ void *cu_fs6(void *arg) {
...
@@ -1464,11 +1464,22 @@ void *cu_fs6(void *arg) {
AssertFatal
(
createUDPsock
(
NULL
,
CU_PORT
,
remoteIP
,
DU_PORT
,
&
sockFS6
),
""
);
AssertFatal
(
createUDPsock
(
NULL
,
CU_PORT
,
remoteIP
,
DU_PORT
,
&
sockFS6
),
""
);
uint64_t
timeStamp
=
0
;
uint64_t
timeStamp
=
0
;
initStaticTime
(
begingWait
);
initStaticTime
(
begingWait2
);
initRefTimes
(
waitDUAndProcessingUL
);
initRefTimes
(
makeSendDL
);
initRefTimes
(
fullLoop
);
while
(
1
)
{
while
(
1
)
{
timeStamp
+=
ru
->
frame_parms
.
samples_per_tti
;
timeStamp
+=
ru
->
frame_parms
.
samples_per_tti
;
updateTimes
(
begingWait
,
&
fullLoop
,
1000
,
"CU for full SubFrame (must be less 1ms)"
);
pickStaticTime
(
begingWait
);
updateTimes
(
begingWait
,
&
waitDUAndProcessingUL
,
1000
,
"CU Time in wait Rx + Ul processing"
);
UL_cu_fs6
(
ru
,
&
timeStamp
);
UL_cu_fs6
(
ru
,
&
timeStamp
);
pickStaticTime
(
begingWait2
);
DL_cu_fs6
(
ru
);
DL_cu_fs6
(
ru
);
updateTimes
(
begingWait2
,
&
makeSendDL
,
1000
,
"CU Time in DL build+send"
);
}
}
return
NULL
;
return
NULL
;
...
@@ -1498,17 +1509,20 @@ void *du_fs6(void *arg) {
...
@@ -1498,17 +1509,20 @@ void *du_fs6(void *arg) {
}
else
LOG_I
(
PHY
,
"RU %d no rf device
\n
"
,
ru
->
idx
);
}
else
LOG_I
(
PHY
,
"RU %d no rf device
\n
"
,
ru
->
idx
);
initStaticTime
(
begingWait
);
initStaticTime
(
begingWait
);
initRefTimes
(
waitRxAndProcessingUL
);
initStaticTime
(
begingWait2
);
initRefTimes
(
waitRxAndProcessingUL
);
initRefTimes
(
makeSendDL
);
initRefTimes
(
makeSendDL
);
initRefTimes
(
fullLoop
);
while
(
1
)
{
while
(
1
)
{
L1_proc_t
*
proc
=
&
ru
->
eNB_list
[
0
]
->
proc
;
L1_proc_t
*
proc
=
&
ru
->
eNB_list
[
0
]
->
proc
;
updateTimes
(
begingWait
,
&
fullLoop
,
1000
,
"DU for full SubFrame (must be less 1ms)"
);
pickStaticTime
(
begingWait
);
pickStaticTime
(
begingWait
);
UL_du_fs6
(
ru
,
proc
->
frame_rx
,
proc
->
subframe_rx
);
UL_du_fs6
(
ru
,
proc
->
frame_rx
,
proc
->
subframe_rx
);
updateTimes
(
begingWait
,
&
waitRxAndProcessingUL
,
1000
,
"DU Time in wait Rx + Ul processing"
);
updateTimes
(
begingWait
,
&
waitRxAndProcessingUL
,
1000
,
"DU Time in wait Rx + Ul processing"
);
pickStaticTime
(
begingWait
);
pickStaticTime
(
begingWait
2
);
DL_du_fs6
(
ru
);
DL_du_fs6
(
ru
);
updateTimes
(
begingWait
,
&
makeSendDL
,
1000
,
"DU Time in build and send Tx"
);
updateTimes
(
begingWait
2
,
&
makeSendDL
,
1000
,
"DU Time in build and send Tx"
);
}
}
return
NULL
;
return
NULL
;
...
...
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