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
ZhouShuya
OpenXG-RAN
Commits
b4021566
Commit
b4021566
authored
May 31, 2018
by
Wang Tsu-Han
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixes for printing single thread fep timing measurment
parent
a34dc257
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
11 deletions
+5
-11
openair1/PHY/LTE_TRANSPORT/ulsch_decoding.c
openair1/PHY/LTE_TRANSPORT/ulsch_decoding.c
+2
-2
openair1/SCHED/ru_procedures.c
openair1/SCHED/ru_procedures.c
+0
-1
targets/RT/USER/lte-ru.c
targets/RT/USER/lte-ru.c
+3
-8
No files found.
openair1/PHY/LTE_TRANSPORT/ulsch_decoding.c
View file @
b4021566
...
@@ -794,11 +794,11 @@ int ulsch_decoding_data(PHY_VARS_eNB *eNB,int UE_id,int harq_pid,int llr8_flag)
...
@@ -794,11 +794,11 @@ int ulsch_decoding_data(PHY_VARS_eNB *eNB,int UE_id,int harq_pid,int llr8_flag)
int
ulsch_decoding_data_all
(
PHY_VARS_eNB
*
eNB
,
int
UE_id
,
int
harq_pid
,
int
llr8_flag
)
int
ulsch_decoding_data_all
(
PHY_VARS_eNB
*
eNB
,
int
UE_id
,
int
harq_pid
,
int
llr8_flag
)
{
{
int
ret
=
0
;
int
ret
=
0
;
/*
if(codingw)
if
(
codingw
)
{
{
ret
=
ulsch_decoding_data_2thread
(
eNB
,
UE_id
,
harq_pid
,
llr8_flag
);
ret
=
ulsch_decoding_data_2thread
(
eNB
,
UE_id
,
harq_pid
,
llr8_flag
);
}
}
else
*/
else
{
{
ret
=
ulsch_decoding_data
(
eNB
,
UE_id
,
harq_pid
,
llr8_flag
);
ret
=
ulsch_decoding_data
(
eNB
,
UE_id
,
harq_pid
,
llr8_flag
);
}
}
...
...
openair1/SCHED/ru_procedures.c
View file @
b4021566
...
@@ -251,7 +251,6 @@ void feptx_ofdm(RU_t *ru) {
...
@@ -251,7 +251,6 @@ void feptx_ofdm(RU_t *ru) {
// int CC_id = ru->proc.CC_id;
// int CC_id = ru->proc.CC_id;
VCD_SIGNAL_DUMPER_DUMP_FUNCTION_BY_NAME
(
VCD_SIGNAL_DUMPER_FUNCTIONS_PHY_PROCEDURES_RU_FEPTX_OFDM
,
1
);
VCD_SIGNAL_DUMPER_DUMP_FUNCTION_BY_NAME
(
VCD_SIGNAL_DUMPER_FUNCTIONS_PHY_PROCEDURES_RU_FEPTX_OFDM
,
1
);
slot_offset_F
=
0
;
slot_offset_F
=
0
;
slot_offset
=
subframe
*
fp
->
samples_per_tti
;
slot_offset
=
subframe
*
fp
->
samples_per_tti
;
...
...
targets/RT/USER/lte-ru.c
View file @
b4021566
...
@@ -1432,12 +1432,11 @@ int setup_RU_buffers(RU_t *ru) {
...
@@ -1432,12 +1432,11 @@ int setup_RU_buffers(RU_t *ru) {
static
void
*
ru_stats_thread
(
void
*
param
)
{
static
void
*
ru_stats_thread
(
void
*
param
)
{
RU_t
*
ru
=
(
RU_t
*
)
param
;
RU_t
*
ru
=
(
RU_t
*
)
param
;
wait_sync
(
"ru_stats_thread"
);
wait_sync
(
"ru_stats_thread"
);
while
(
!
oai_exit
)
{
while
(
!
oai_exit
)
{
sleep
(
1
);
sleep
(
1
);
if
(
opp_enabled
==
1
&&
fepw
)
{
if
(
opp_enabled
)
{
if
(
ru
->
feprx
)
print_meas
(
&
ru
->
ofdm_demod_stats
,
"feprx"
,
NULL
,
NULL
);
if
(
ru
->
feprx
)
print_meas
(
&
ru
->
ofdm_demod_stats
,
"feprx"
,
NULL
,
NULL
);
if
(
ru
->
feptx_ofdm
)
print_meas
(
&
ru
->
ofdm_mod_stats
,
"feptx_ofdm"
,
NULL
,
NULL
);
if
(
ru
->
feptx_ofdm
)
print_meas
(
&
ru
->
ofdm_mod_stats
,
"feptx_ofdm"
,
NULL
,
NULL
);
if
(
ru
->
fh_north_asynch_in
)
print_meas
(
&
ru
->
rx_fhaul
,
"rx_fhaul"
,
NULL
,
NULL
);
if
(
ru
->
fh_north_asynch_in
)
print_meas
(
&
ru
->
rx_fhaul
,
"rx_fhaul"
,
NULL
,
NULL
);
...
@@ -1908,8 +1907,8 @@ void init_RU_proc(RU_t *ru) {
...
@@ -1908,8 +1907,8 @@ void init_RU_proc(RU_t *ru) {
}
}
if
(
get_nprocs
()
>
2
&&
fepw
)
{
if
(
get_nprocs
()
>
2
&&
fepw
)
{
i
f
(
ru
->
feprx
)
i
nit_fep_thread
(
ru
,
NULL
);
init_fep_thread
(
ru
,
NULL
);
i
f
(
ru
->
feptx_ofdm
)
i
nit_feptx_thread
(
ru
,
NULL
);
init_feptx_thread
(
ru
,
NULL
);
}
}
if
(
opp_enabled
==
1
)
pthread_create
(
&
ru
->
ru_stats_thread
,
NULL
,
ru_stats_thread
,(
void
*
)
ru
);
if
(
opp_enabled
==
1
)
pthread_create
(
&
ru
->
ru_stats_thread
,
NULL
,
ru_stats_thread
,(
void
*
)
ru
);
...
@@ -1921,14 +1920,10 @@ void kill_RU_proc(int inst)
...
@@ -1921,14 +1920,10 @@ void kill_RU_proc(int inst)
RU_proc_t
*
proc
=
&
ru
->
proc
;
RU_proc_t
*
proc
=
&
ru
->
proc
;
if
(
get_nprocs
()
>
2
&&
fepw
)
{
if
(
get_nprocs
()
>
2
&&
fepw
)
{
if
(
ru
->
feprx
)
{
LOG_D
(
PHY
,
"killing FEP thread
\n
"
);
LOG_D
(
PHY
,
"killing FEP thread
\n
"
);
kill_fep_thread
(
ru
);
kill_fep_thread
(
ru
);
}
if
(
ru
->
feptx_ofdm
){
LOG_D
(
PHY
,
"killing FEP TX thread
\n
"
);
LOG_D
(
PHY
,
"killing FEP TX thread
\n
"
);
kill_feptx_thread
(
ru
);
kill_feptx_thread
(
ru
);
}
}
}
pthread_mutex_lock
(
&
proc
->
mutex_FH
);
pthread_mutex_lock
(
&
proc
->
mutex_FH
);
...
...
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