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
常顺宇
OpenXG-RAN
Commits
7d1665fe
Commit
7d1665fe
authored
May 17, 2016
by
Cedric Roux
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add a timelog to enb.c
parent
b50fb79d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
0 deletions
+19
-0
common/utils/T/tracer/enb.c
common/utils/T/tracer/enb.c
+19
-0
No files found.
common/utils/T/tracer/enb.c
View file @
7d1665fe
...
@@ -119,6 +119,11 @@ static void enb_main_gui(gui *g, event_handler *h, void *database)
...
@@ -119,6 +119,11 @@ static void enb_main_gui(gui *g, event_handler *h, void *database)
widget
*
input_signal_plot
;
widget
*
input_signal_plot
;
logger
*
input_signal_log
;
logger
*
input_signal_log
;
view
*
input_signal_view
;
view
*
input_signal_view
;
widget
*
timeline_plot
;
logger
*
input_signal_timelog
;
view
*
input_signal_timeview
;
view
*
input_signal_subview
;
int
i
;
main_window
=
new_toplevel_window
(
g
,
800
,
600
,
"eNB tracer"
);
main_window
=
new_toplevel_window
(
g
,
800
,
600
,
"eNB tracer"
);
top_container
=
new_container
(
g
,
VERTICAL
);
top_container
=
new_container
(
g
,
VERTICAL
);
...
@@ -138,6 +143,20 @@ static void enb_main_gui(gui *g, event_handler *h, void *database)
...
@@ -138,6 +143,20 @@ static void enb_main_gui(gui *g, event_handler *h, void *database)
input_signal_view
=
new_view_xy
(
7680
*
10
,
10
,
input_signal_view
=
new_view_xy
(
7680
*
10
,
10
,
g
,
input_signal_plot
,
new_color
(
g
,
"#0c0c72"
));
g
,
input_signal_plot
,
new_color
(
g
,
"#0c0c72"
));
logger_add_view
(
input_signal_log
,
input_signal_view
);
logger_add_view
(
input_signal_log
,
input_signal_view
);
line
=
new_container
(
g
,
HORIZONTAL
);
widget_add_child
(
g
,
top_container
,
line
,
-
1
);
timeline_plot
=
new_timeline
(
g
,
512
,
16
,
5
);
widget_add_child
(
g
,
line
,
timeline_plot
,
-
1
);
container_set_child_growable
(
g
,
line
,
timeline_plot
,
1
);
for
(
i
=
0
;
i
<
16
;
i
++
)
timeline_set_subline_background_color
(
g
,
timeline_plot
,
i
,
new_color
(
g
,
i
&
1
?
"#ddd"
:
"#eee"
));
input_signal_timelog
=
new_timelog
(
h
,
database
,
"ENB_INPUT_SIGNAL"
);
input_signal_timeview
=
new_view_time
(
3600
,
10
,
g
,
timeline_plot
);
input_signal_subview
=
new_subview_time
(
input_signal_timeview
,
0
,
FOREGROUND_COLOR
);
logger_add_view
(
input_signal_timelog
,
input_signal_subview
);
}
}
int
main
(
int
n
,
char
**
v
)
int
main
(
int
n
,
char
**
v
)
...
...
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