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
b8feeef4
Commit
b8feeef4
authored
Aug 09, 2018
by
Wang Tsu-Han
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
VCD log for two ru_thread
parent
3fd12525
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
11 deletions
+19
-11
openair1/SCHED/ru_procedures.c
openair1/SCHED/ru_procedures.c
+18
-10
targets/RT/USER/lte-enb.c
targets/RT/USER/lte-enb.c
+1
-1
No files found.
openair1/SCHED/ru_procedures.c
View file @
b8feeef4
...
...
@@ -192,6 +192,7 @@ void feptx_ofdm_2thread(RU_t *ru) {
wait
.
tv_sec
=
0
;
wait
.
tv_nsec
=
5000000L
;
if
(
ru
->
idx
<
2
)
VCD_SIGNAL_DUMPER_DUMP_FUNCTION_BY_NAME
(
VCD_SIGNAL_DUMPER_FUNCTIONS_PHY_PROCEDURES_RU_FEPTX_OFDM
+
ru
->
idx
,
1
);
start_meas
(
&
ru
->
ofdm_mod_stats
);
...
...
@@ -240,6 +241,7 @@ void feptx_ofdm_2thread(RU_t *ru) {
//VCD_SIGNAL_DUMPER_DUMP_FUNCTION_BY_NAME(VCD_SIGNAL_DUMPER_FUNCTIONS_PHY_PROCEDURES_RU_FEPTX_OFDM , 0 );
stop_meas
(
&
ru
->
ofdm_mod_stats
);
if
(
ru
->
idx
<
2
)
VCD_SIGNAL_DUMPER_DUMP_FUNCTION_BY_NAME
(
VCD_SIGNAL_DUMPER_FUNCTIONS_PHY_PROCEDURES_RU_FEPTX_OFDM
+
ru
->
idx
,
0
);
}
...
...
@@ -259,6 +261,7 @@ void feptx_ofdm(RU_t *ru) {
// int CC_id = ru->proc.CC_id;
if
(
ru
->
idx
<
2
)
VCD_SIGNAL_DUMPER_DUMP_FUNCTION_BY_NAME
(
VCD_SIGNAL_DUMPER_FUNCTIONS_PHY_PROCEDURES_RU_FEPTX_OFDM
+
ru
->
idx
,
1
);
slot_offset_F
=
0
;
...
...
@@ -381,6 +384,7 @@ void feptx_ofdm(RU_t *ru) {
dB_fixed
(
signal_energy_nodc
(
ru
->
common
.
txdataF_BF
[
aa
],
2
*
slot_sizeF
)));
}
}
if
(
ru
->
idx
<
2
)
VCD_SIGNAL_DUMPER_DUMP_FUNCTION_BY_NAME
(
VCD_SIGNAL_DUMPER_FUNCTIONS_PHY_PROCEDURES_RU_FEPTX_OFDM
+
ru
->
idx
,
0
);
}
...
...
@@ -424,10 +428,11 @@ void feptx_prec(RU_t *ru) {
}*/
//VCD_SIGNAL_DUMPER_DUMP_FUNCTION_BY_NAME(VCD_SIGNAL_DUMPER_FUNCTIONS_PHY_PROCEDURES_RU_FEPTX_PREC , 1);
if
(
ru
->
idx
<
2
)
VCD_SIGNAL_DUMPER_DUMP_FUNCTION_BY_NAME
(
VCD_SIGNAL_DUMPER_FUNCTIONS_PHY_PROCEDURES_RU_FEPTX_PREC
+
ru
->
idx
,
1
);
//VCD_SIGNAL_DUMPER_DUMP_FUNCTION_BY_NAME(VCD_SIGNAL_DUMPER_FUNCTIONS_RU_FEPTX_PREC+ru->idx,1);
printf
(
"///////////*******ru id %d:executing Theoni's beamforming
\n
"
,
ru
->
idx
);
//
printf("///////////*******ru id %d:executing Theoni's beamforming\n",ru->idx);
for
(
aa
=
0
;
aa
<
ru
->
nb_tx
;
aa
++
)
{
memset
(
ru
->
common
.
txdataF_BF
[
aa
],
0
,
sizeof
(
int32_t
)
*
(
fp
->
ofdm_symbol_size
));
...
...
@@ -491,6 +496,7 @@ void feptx_prec(RU_t *ru) {
}
// for (p=0...)
}
// for (aa=0 ...)
if
(
ru
->
idx
<
2
)
VCD_SIGNAL_DUMPER_DUMP_FUNCTION_BY_NAME
(
VCD_SIGNAL_DUMPER_FUNCTIONS_PHY_PROCEDURES_RU_FEPTX_PREC
+
ru
->
idx
,
0
);
// VCD_SIGNAL_DUMPER_DUMP_FUNCTION_BY_NAME(VCD_SIGNAL_DUMPER_FUNCTIONS_RU_FEPTX_PREC+ru->idx,0);
...
...
@@ -675,6 +681,7 @@ void ru_fep_full_2thread(RU_t *ru) {
wait
.
tv_sec
=
0
;
wait
.
tv_nsec
=
5000000L
;
if
(
ru
->
idx
<
2
)
VCD_SIGNAL_DUMPER_DUMP_FUNCTION_BY_NAME
(
VCD_SIGNAL_DUMPER_FUNCTIONS_PHY_PROCEDURES_RU_FEPRX
+
ru
->
idx
,
1
);
start_meas
(
&
ru
->
ofdm_demod_stats
);
...
...
@@ -715,6 +722,7 @@ void ru_fep_full_2thread(RU_t *ru) {
}
stop_meas
(
&
ru
->
ofdm_demod_stats
);
if
(
ru
->
idx
<
2
)
VCD_SIGNAL_DUMPER_DUMP_FUNCTION_BY_NAME
(
VCD_SIGNAL_DUMPER_FUNCTIONS_PHY_PROCEDURES_RU_FEPRX
+
ru
->
idx
,
0
);
}
...
...
targets/RT/USER/lte-enb.c
View file @
b8feeef4
...
...
@@ -487,7 +487,7 @@ int wakeup_txfh(eNB_rxtx_proc_t *proc,PHY_VARS_eNB *eNB) {
struct
timespec
wait
;
wait
.
tv_sec
=
0
;
wait
.
tv_nsec
=
5000000L
;
int
MAX_RU
=
2
;
int
MAX_RU
=
5
;
for
(
int
ru_id
=
0
;
ru_id
<
MAX_RU
;
ru_id
++
){
ru_proc
=
&
eNB
->
RU_list
[
ru_id
]
->
proc
;
...
...
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