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
dd55be2c
Commit
dd55be2c
authored
Jun 09, 2016
by
Cedric Roux
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cleanup
parent
57240cc0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
8 deletions
+1
-8
common/utils/T/tracer/enb.c
common/utils/T/tracer/enb.c
+1
-8
No files found.
common/utils/T/tracer/enb.c
View file @
dd55be2c
...
@@ -88,7 +88,7 @@ static void *gui_thread(void *_g)
...
@@ -88,7 +88,7 @@ static void *gui_thread(void *_g)
static
filter
*
ticktime_filter
(
void
*
database
,
char
*
event
,
int
i
)
static
filter
*
ticktime_filter
(
void
*
database
,
char
*
event
,
int
i
)
{
{
/* filter is "harq_pid == i && UE_id == 0 && eNB_id == 0 */
/* filter is "harq_pid == i && UE_id == 0 && eNB_id == 0
"
*/
return
return
filter_and
(
filter_and
(
filter_eq
(
filter_evarg
(
database
,
event
,
"harq_pid"
),
filter_int
(
i
)),
filter_eq
(
filter_evarg
(
database
,
event
,
"harq_pid"
),
filter_int
(
i
)),
...
@@ -214,7 +214,6 @@ static void enb_main_gui(enb_gui *e, gui *g, event_handler *h, void *database)
...
@@ -214,7 +214,6 @@ static void enb_main_gui(enb_gui *e, gui *g, event_handler *h, void *database)
subview
=
new_subview_ticktime
(
timeview
,
i
+
1
,
subview
=
new_subview_ticktime
(
timeview
,
i
+
1
,
new_color
(
g
,
"#55f"
),
3600
*
1000
);
new_color
(
g
,
"#55f"
),
3600
*
1000
);
logger_add_view
(
timelog
,
subview
);
logger_add_view
(
timelog
,
subview
);
/* filter is "harq_pid == i && UE_id == 0 && eNB_id == 0 */
logger_set_filter
(
timelog
,
logger_set_filter
(
timelog
,
ticktime_filter
(
database
,
"ENB_DLSCH_UE_DCI"
,
i
));
ticktime_filter
(
database
,
"ENB_DLSCH_UE_DCI"
,
i
));
}
}
...
@@ -225,7 +224,6 @@ static void enb_main_gui(enb_gui *e, gui *g, event_handler *h, void *database)
...
@@ -225,7 +224,6 @@ static void enb_main_gui(enb_gui *e, gui *g, event_handler *h, void *database)
subview
=
new_subview_ticktime
(
timeview
,
i
+
1
,
subview
=
new_subview_ticktime
(
timeview
,
i
+
1
,
new_color
(
g
,
"#282"
),
3600
*
1000
);
new_color
(
g
,
"#282"
),
3600
*
1000
);
logger_add_view
(
timelog
,
subview
);
logger_add_view
(
timelog
,
subview
);
/* filter is "harq_pid == i && UE_id == 0 && eNB_id == 0 */
logger_set_filter
(
timelog
,
logger_set_filter
(
timelog
,
ticktime_filter
(
database
,
"ENB_DLSCH_UE_ACK"
,
i
));
ticktime_filter
(
database
,
"ENB_DLSCH_UE_ACK"
,
i
));
}
}
...
@@ -236,7 +234,6 @@ static void enb_main_gui(enb_gui *e, gui *g, event_handler *h, void *database)
...
@@ -236,7 +234,6 @@ static void enb_main_gui(enb_gui *e, gui *g, event_handler *h, void *database)
subview
=
new_subview_ticktime
(
timeview
,
i
+
1
,
subview
=
new_subview_ticktime
(
timeview
,
i
+
1
,
new_color
(
g
,
"#f22"
),
3600
*
1000
);
new_color
(
g
,
"#f22"
),
3600
*
1000
);
logger_add_view
(
timelog
,
subview
);
logger_add_view
(
timelog
,
subview
);
/* filter is "harq_pid == i && UE_id == 0 && eNB_id == 0 */
logger_set_filter
(
timelog
,
logger_set_filter
(
timelog
,
ticktime_filter
(
database
,
"ENB_DLSCH_UE_NACK"
,
i
));
ticktime_filter
(
database
,
"ENB_DLSCH_UE_NACK"
,
i
));
}
}
...
@@ -248,7 +245,6 @@ static void enb_main_gui(enb_gui *e, gui *g, event_handler *h, void *database)
...
@@ -248,7 +245,6 @@ static void enb_main_gui(enb_gui *e, gui *g, event_handler *h, void *database)
subview
=
new_subview_ticktime
(
timeview
,
i
+
9
+
1
,
subview
=
new_subview_ticktime
(
timeview
,
i
+
9
+
1
,
new_color
(
g
,
"#55f"
),
3600
*
1000
);
new_color
(
g
,
"#55f"
),
3600
*
1000
);
logger_add_view
(
timelog
,
subview
);
logger_add_view
(
timelog
,
subview
);
/* filter is "harq_pid == i && UE_id == 0 && eNB_id == 0 */
logger_set_filter
(
timelog
,
logger_set_filter
(
timelog
,
ticktime_filter
(
database
,
"ENB_ULSCH_UE_DCI"
,
i
));
ticktime_filter
(
database
,
"ENB_ULSCH_UE_DCI"
,
i
));
/* retransmission */
/* retransmission */
...
@@ -257,7 +253,6 @@ static void enb_main_gui(enb_gui *e, gui *g, event_handler *h, void *database)
...
@@ -257,7 +253,6 @@ static void enb_main_gui(enb_gui *e, gui *g, event_handler *h, void *database)
subview
=
new_subview_ticktime
(
timeview
,
i
+
9
+
1
,
subview
=
new_subview_ticktime
(
timeview
,
i
+
9
+
1
,
new_color
(
g
,
"#99f"
),
3600
*
1000
);
new_color
(
g
,
"#99f"
),
3600
*
1000
);
logger_add_view
(
timelog
,
subview
);
logger_add_view
(
timelog
,
subview
);
/* filter is "harq_pid == i && UE_id == 0 && eNB_id == 0 */
logger_set_filter
(
timelog
,
logger_set_filter
(
timelog
,
ticktime_filter
(
database
,
"ENB_ULSCH_UE_NO_DCI_RETRANSMISSION"
,
i
));
ticktime_filter
(
database
,
"ENB_ULSCH_UE_NO_DCI_RETRANSMISSION"
,
i
));
}
}
...
@@ -268,7 +263,6 @@ static void enb_main_gui(enb_gui *e, gui *g, event_handler *h, void *database)
...
@@ -268,7 +263,6 @@ static void enb_main_gui(enb_gui *e, gui *g, event_handler *h, void *database)
subview
=
new_subview_ticktime
(
timeview
,
i
+
9
+
1
,
subview
=
new_subview_ticktime
(
timeview
,
i
+
9
+
1
,
new_color
(
g
,
"#282"
),
3600
*
1000
);
new_color
(
g
,
"#282"
),
3600
*
1000
);
logger_add_view
(
timelog
,
subview
);
logger_add_view
(
timelog
,
subview
);
/* filter is "harq_pid == i && UE_id == 0 && eNB_id == 0 */
logger_set_filter
(
timelog
,
logger_set_filter
(
timelog
,
ticktime_filter
(
database
,
"ENB_ULSCH_UE_ACK"
,
i
));
ticktime_filter
(
database
,
"ENB_ULSCH_UE_ACK"
,
i
));
}
}
...
@@ -279,7 +273,6 @@ static void enb_main_gui(enb_gui *e, gui *g, event_handler *h, void *database)
...
@@ -279,7 +273,6 @@ static void enb_main_gui(enb_gui *e, gui *g, event_handler *h, void *database)
subview
=
new_subview_ticktime
(
timeview
,
i
+
9
+
1
,
subview
=
new_subview_ticktime
(
timeview
,
i
+
9
+
1
,
new_color
(
g
,
"#f22"
),
3600
*
1000
);
new_color
(
g
,
"#f22"
),
3600
*
1000
);
logger_add_view
(
timelog
,
subview
);
logger_add_view
(
timelog
,
subview
);
/* filter is "harq_pid == i && UE_id == 0 && eNB_id == 0 */
logger_set_filter
(
timelog
,
logger_set_filter
(
timelog
,
ticktime_filter
(
database
,
"ENB_ULSCH_UE_NACK"
,
i
));
ticktime_filter
(
database
,
"ENB_ULSCH_UE_NACK"
,
i
));
}
}
...
...
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