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
zzha zzha
OpenXG-RAN
Commits
65d900e8
Commit
65d900e8
authored
Jan 13, 2023
by
Hongzhi Wang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dedicated core pinning to ru thread
parent
6c6266e7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
executables/nr-ru.c
executables/nr-ru.c
+2
-2
No files found.
executables/nr-ru.c
View file @
65d900e8
...
...
@@ -1787,8 +1787,8 @@ void init_NR_RU(char *rf_config_file) {
if
(
threadCnt
<
2
)
LOG_E
(
PHY
,
"Number of threads for gNB should be more than 1. Allocated only %d
\n
"
,
threadCnt
);
else
LOG_I
(
PHY
,
"RU Thread pool size %d
\n
"
,
threadCnt
);
char
pool
[
80
];
int
s_offset
=
sprintf
(
pool
,
"%d"
,
ru
->
tpcores
[
0
]);
for
(
int
icpu
=
1
;
icpu
<
threadCnt
;
icpu
++
)
{
int
s_offset
=
sprintf
(
pool
,
"%d"
,
ru
->
tpcores
[
1
]);
for
(
int
icpu
=
2
;
icpu
<
threadCnt
;
icpu
++
)
{
s_offset
+=
sprintf
(
pool
+
s_offset
,
",%d"
,
ru
->
tpcores
[
icpu
]);
}
LOG_I
(
PHY
,
"RU thread-pool core string %s
\n
"
,
pool
);
...
...
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