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
fdbeec1c
Commit
fdbeec1c
authored
3 years ago
by
Sakthivel Velumani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
thread keys for identifying functions
parent
e9cf13dc
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
3 deletions
+8
-3
executables/nr-gnb.c
executables/nr-gnb.c
+2
-2
executables/nr-ru.c
executables/nr-ru.c
+1
-1
openair1/PHY/defs_common.h
openair1/PHY/defs_common.h
+5
-0
No files found.
executables/nr-gnb.c
View file @
fdbeec1c
...
...
@@ -126,7 +126,7 @@ void tx_func(void *param) {
syncMsg
->
slot_tx
=
slot_tx
;
syncMsg
->
timestamp_tx
=
info
->
timestamp_tx
;
syncMsg
->
ru
=
gNB
->
RU_list
[
0
];
res
->
key
=
slot_tx
;
res
->
key
=
RU_TX_THREAD_START_ID
+
slot_tx
;
pushTpool
(
gNB
->
threadPool
,
res
);
}
...
...
@@ -253,7 +253,7 @@ void rx_func(void *param) {
syncMsg
->
frame_tx
=
frame_tx
;
syncMsg
->
slot_tx
=
slot_tx
;
syncMsg
->
timestamp_tx
=
info
->
timestamp_tx
;
res
->
key
=
slot_tx
;
res
->
key
=
L1_TX_THREAD_START_ID
+
slot_tx
;
pushTpool
(
gNB
->
threadPool
,
res
);
}
...
...
This diff is collapsed.
Click to expand it.
executables/nr-ru.c
View file @
fdbeec1c
...
...
@@ -1390,7 +1390,7 @@ void *ru_thread( void *param ) {
syncMsg
->
frame_tx
=
proc
->
frame_tx
;
syncMsg
->
slot_tx
=
proc
->
tti_tx
;
syncMsg
->
timestamp_tx
=
proc
->
timestamp_tx
;
res
->
key
=
proc
->
tti_rx
;
res
->
key
=
L1_RX_THREAD_START_ID
+
proc
->
tti_rx
;
pushTpool
(
gNB
->
threadPool
,
res
);
}
...
...
This diff is collapsed.
Click to expand it.
openair1/PHY/defs_common.h
View file @
fdbeec1c
...
...
@@ -77,6 +77,11 @@
#define RX_NB_TH 2
#define RX_NB_TH_DL 14
#define L1_RX_THREAD_START_ID 1000
#define L1_TX_THREAD_START_ID 2000
#define RU_TX_THREAD_START_ID 3000
#define LTE_SLOTS_PER_SUBFRAME 2
#define LTE_NUMBER_OF_SUBFRAMES_PER_FRAME 10
...
...
This diff is collapsed.
Click to expand it.
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