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
alex037yang
OpenXG-RAN
Commits
6022b821
Commit
6022b821
authored
Feb 08, 2018
by
root
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
disabling multi-thread encoding for now.
parent
02589197
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
openair1/PHY/LTE_TRANSPORT/dlsch_coding.c
openair1/PHY/LTE_TRANSPORT/dlsch_coding.c
+4
-2
No files found.
openair1/PHY/LTE_TRANSPORT/dlsch_coding.c
View file @
6022b821
...
@@ -652,6 +652,7 @@ int dlsch_encoding_all(PHY_VARS_eNB *eNB,
...
@@ -652,6 +652,7 @@ int dlsch_encoding_all(PHY_VARS_eNB *eNB,
time_stats_t
*
i_stats
)
time_stats_t
*
i_stats
)
{
{
int
encoding_return
=
0
;
int
encoding_return
=
0
;
/*
unsigned int L,C,B;
unsigned int L,C,B;
B = dlsch->harq_processes[dlsch->harq_ids[subframe]]->B;
B = dlsch->harq_processes[dlsch->harq_ids[subframe]]->B;
if(B<=6144)
if(B<=6144)
...
@@ -669,7 +670,7 @@ int dlsch_encoding_all(PHY_VARS_eNB *eNB,
...
@@ -669,7 +670,7 @@ int dlsch_encoding_all(PHY_VARS_eNB *eNB,
}
}
}
}
if
(
0
/*C >= 8 && get_nprocs()>8 && codingw*/
)
//one main three worker
if(
C >= 8 && get_nprocs()>8 && codingw
)//one main three worker
{
{
encoding_return =
encoding_return =
dlsch_encoding_2threads(eNB,
dlsch_encoding_2threads(eNB,
...
@@ -725,6 +726,7 @@ int dlsch_encoding_all(PHY_VARS_eNB *eNB,
...
@@ -725,6 +726,7 @@ int dlsch_encoding_all(PHY_VARS_eNB *eNB,
}
}
else
else
{
{
*/
encoding_return
=
encoding_return
=
dlsch_encoding
(
eNB
,
dlsch_encoding
(
eNB
,
a
,
a
,
...
@@ -735,7 +737,7 @@ int dlsch_encoding_all(PHY_VARS_eNB *eNB,
...
@@ -735,7 +737,7 @@ int dlsch_encoding_all(PHY_VARS_eNB *eNB,
rm_stats
,
rm_stats
,
te_stats
,
te_stats
,
i_stats
);
i_stats
);
}
//
}
return
encoding_return
;
return
encoding_return
;
}
}
...
...
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