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
wangwenhui
OpenXG-RAN
Commits
bfecb5e5
Commit
bfecb5e5
authored
Jan 09, 2017
by
Cedric Roux
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
T: add PHY throughput view to enb tracer
parent
9162c069
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
30 additions
and
0 deletions
+30
-0
common/utils/T/tracer/enb.c
common/utils/T/tracer/enb.c
+30
-0
No files found.
common/utils/T/tracer/enb.c
View file @
bfecb5e5
...
...
@@ -349,6 +349,36 @@ static void enb_main_gui(enb_gui *e, gui *g, event_handler *h, void *database,
logger_add_view
(
l
,
v
);
e
->
ul_mcs_logger
=
l
;
/* UE x DL PHY (truly: DCI) throughput */
col
=
new_container
(
g
,
VERTICAL
);
widget_add_child
(
g
,
line
,
col
,
-
1
);
w
=
new_xy_plot
(
g
,
70
,
10
,
"DL PHY [0]"
,
35
);
w2
=
new_textarea
(
g
,
70
,
11
,
64
);
xy_plot_set_range
(
g
,
w
,
0
,
1000
,
0
,
100000
);
xy_plot_set_tick_type
(
g
,
w
,
XY_PLOT_SCROLL_TICK
);
widget_add_child
(
g
,
col
,
w2
,
-
1
);
widget_add_child
(
g
,
col
,
w
,
-
1
);
container_set_child_growable
(
g
,
col
,
w
,
1
);
l
=
new_throughputlog
(
h
,
database
,
"ENB_PHY_DL_TICK"
,
"frame"
,
"subframe"
,
"ENB_PHY_DLSCH_UE_DCI"
,
"TBS"
);
v
=
new_view_scrolltti
(
10
,
g
,
w
,
new_color
(
g
,
"#0c0c72"
),
w2
);
logger_add_view
(
l
,
v
);
/* UE x UL PHY (truly: DCI) throughput */
col
=
new_container
(
g
,
VERTICAL
);
widget_add_child
(
g
,
line
,
col
,
-
1
);
w
=
new_xy_plot
(
g
,
70
,
10
,
"UL PHY [0]"
,
35
);
w2
=
new_textarea
(
g
,
70
,
11
,
64
);
xy_plot_set_range
(
g
,
w
,
0
,
1000
,
0
,
100000
);
xy_plot_set_tick_type
(
g
,
w
,
XY_PLOT_SCROLL_TICK
);
widget_add_child
(
g
,
col
,
w2
,
-
1
);
widget_add_child
(
g
,
col
,
w
,
-
1
);
container_set_child_growable
(
g
,
col
,
w
,
1
);
l
=
new_throughputlog
(
h
,
database
,
"ENB_PHY_DL_TICK"
,
"frame"
,
"subframe"
,
"ENB_PHY_ULSCH_UE_DCI"
,
"TBS"
);
v
=
new_view_scrolltti
(
10
,
g
,
w
,
new_color
(
g
,
"#0c0c72"
),
w2
);
logger_add_view
(
l
,
v
);
/* downlink/uplink UE DCIs */
widget_add_child
(
g
,
top_container
,
new_label
(
g
,
"DL/UL TICK/DCI/ACK/NACK [all UEs]"
),
-
1
);
...
...
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