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
lizhongxiao
OpenXG-RAN
Commits
e2682812
Commit
e2682812
authored
Jun 09, 2016
by
Cedric Roux
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add T log ENB_MASTER_TICK
parent
1dff773e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
5 deletions
+11
-5
common/utils/T/T_messages.txt
common/utils/T/T_messages.txt
+6
-0
targets/RT/USER/lte-softmodem.c
targets/RT/USER/lte-softmodem.c
+2
-2
targets/SIMU/USER/oaisim.c
targets/SIMU/USER/oaisim.c
+3
-3
No files found.
common/utils/T/T_messages.txt
View file @
e2682812
#general logs
ID = ENB_MASTER_TICK
DESC = eNodeB master tick - one tick per ms, to be used as "reference clock", mostly for ticktime view
GROUP = ALL:GENERAL:ENB
FORMAT = int,eNB_ID : int,frame : int,subframe
#PHY logs
#PHY logs
ID = ENB_UL_TICK
ID = ENB_UL_TICK
DESC = eNodeB uplink tick - one tick per ms at start of uplink processing
DESC = eNodeB uplink tick - one tick per ms at start of uplink processing
...
...
targets/RT/USER/lte-softmodem.c
View file @
e2682812
...
@@ -51,9 +51,7 @@
...
@@ -51,9 +51,7 @@
#include <execinfo.h>
#include <execinfo.h>
#include <getopt.h>
#include <getopt.h>
#if T_TRACER
#include "T.h"
#include "T.h"
#endif
#include "rt_wrapper.h"
#include "rt_wrapper.h"
#undef MALLOC //there are two conflicting definitions, so we better make sure we don't use it at all
#undef MALLOC //there are two conflicting definitions, so we better make sure we don't use it at all
...
@@ -1988,6 +1986,8 @@ static void* eNB_thread( void* arg )
...
@@ -1988,6 +1986,8 @@ static void* eNB_thread( void* arg )
#else
#else
int
sf
=
hw_subframe
;
int
sf
=
hw_subframe
;
#endif
#endif
/* TODO: is it the right place for master tick? */
T
(
T_ENB_MASTER_TICK
,
T_INT
(
0
),
T_INT
(
frame
%
1024
),
T_INT
(
sf
));
if
(
frame
>
50
)
{
if
(
frame
>
50
)
{
for
(
int
CC_id
=
0
;
CC_id
<
MAX_NUM_CCs
;
CC_id
++
)
{
for
(
int
CC_id
=
0
;
CC_id
<
MAX_NUM_CCs
;
CC_id
++
)
{
#ifdef EXMIMO
#ifdef EXMIMO
...
...
targets/SIMU/USER/oaisim.c
View file @
e2682812
...
@@ -114,9 +114,7 @@ char smbv_ip[16];
...
@@ -114,9 +114,7 @@ char smbv_ip[16];
# include "create_tasks.h"
# include "create_tasks.h"
#endif
#endif
#if T_TRACER
#include "T.h"
#include "T.h"
#endif
/*
/*
DCI0_5MHz_TDD0_t UL_alloc_pdu;
DCI0_5MHz_TDD0_t UL_alloc_pdu;
...
@@ -748,7 +746,8 @@ l2l1_task (void *args_p)
...
@@ -748,7 +746,8 @@ l2l1_task (void *args_p)
+
oai_emulation
.
info
.
nb_enb_local
));
+
oai_emulation
.
info
.
nb_enb_local
));
eNB_inst
++
)
{
eNB_inst
++
)
{
if
(
oai_emulation
.
info
.
cli_start_enb
[
eNB_inst
]
!=
0
)
{
if
(
oai_emulation
.
info
.
cli_start_enb
[
eNB_inst
]
!=
0
)
{
if
((
slot
&
1
)
==
0
)
if
((
slot
&
1
)
==
0
)
{
T
(
T_ENB_MASTER_TICK
,
T_INT
(
eNB_inst
),
T_INT
(
frame
%
1024
),
T_INT
(
slot
/
2
));
LOG_D
(
EMU
,
LOG_D
(
EMU
,
"PHY procedures eNB %d for frame %d, slot %d (subframe TX %d, RX %d) TDD %d/%d Nid_cell %d
\n
"
,
"PHY procedures eNB %d for frame %d, slot %d (subframe TX %d, RX %d) TDD %d/%d Nid_cell %d
\n
"
,
eNB_inst
,
eNB_inst
,
...
@@ -759,6 +758,7 @@ l2l1_task (void *args_p)
...
@@ -759,6 +758,7 @@ l2l1_task (void *args_p)
PHY_vars_eNB_g
[
eNB_inst
][
0
]
->
lte_frame_parms
.
frame_type
,
PHY_vars_eNB_g
[
eNB_inst
][
0
]
->
lte_frame_parms
.
frame_type
,
PHY_vars_eNB_g
[
eNB_inst
][
0
]
->
lte_frame_parms
.
tdd_config
,
PHY_vars_eNB_g
[
eNB_inst
][
0
]
->
lte_frame_parms
.
tdd_config
,
PHY_vars_eNB_g
[
eNB_inst
][
0
]
->
lte_frame_parms
.
Nid_cell
);
PHY_vars_eNB_g
[
eNB_inst
][
0
]
->
lte_frame_parms
.
Nid_cell
);
}
#ifdef OPENAIR2
#ifdef OPENAIR2
//Application: traffic gen
//Application: traffic gen
...
...
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