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
zzha zzha
OpenXG-RAN
Commits
d19302fb
Commit
d19302fb
authored
Sep 25, 2023
by
Laurent THOMAS
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
revert last change
parent
91497ece
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
common/utils/ocp_itti/intertask_interface.cpp
common/utils/ocp_itti/intertask_interface.cpp
+10
-10
No files found.
common/utils/ocp_itti/intertask_interface.cpp
View file @
d19302fb
...
...
@@ -132,17 +132,17 @@ extern "C" {
int
message_id
=
message
->
ittiMsgHeader
.
messageId
;
size_t
s
=
t
->
message_queue
.
size
();
if
(
s
>
t
->
last_log_size
*
1.1
)
{
// to reduce the number of logs, we give a message each increase of 10%
if
(
s
>
t
->
admin
.
queue_size
)
LOG_E
(
TMR
,
"Queue for %s task contains %ld messages
\n
"
,
itti_get_task_name
(
destination_task_id
),
s
);
if
(
s
>
t
->
admin
.
queue_size
/
10
)
LOG_I
(
ITTI
,
"Queue for %s task size: %ld (last message %s)
\n
"
,
itti_get_task_name
(
destination_task_id
),
s
+
1
,
ITTI_MSG_NAME
(
message
));
if
(
s
>
t
->
last_log_size
*
1.1
&&
s
>
t
->
admin
.
queue_size
)
{
LOG_E
(
TMR
,
"Queue for %s task contains %ld messages
\n
"
,
itti_get_task_name
(
destination_task_id
),
s
);
t
->
last_log_size
=
s
;
}
else
if
(
s
>
t
->
last_log_size
*
1.1
&&
s
>
t
->
admin
.
queue_size
/
10
)
{
LOG_I
(
ITTI
,
"Queue for %s task size: %ld (last message %s)
\n
"
,
itti_get_task_name
(
destination_task_id
),
s
+
1
,
ITTI_MSG_NAME
(
message
));
t
->
last_log_size
=
s
;
}
...
...
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