Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
LOFAR
Manage
Activity
Members
Labels
Plan
Issues
Wiki
Jira issues
Open Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
RadioObservatory
LOFAR
Commits
a617e2dd
Commit
a617e2dd
authored
13 years ago
by
Jan David Mol
Browse files
Options
Downloads
Patches
Plain Diff
Task #2680: OutputSection compiles for non-BGP targets
parent
cfa1ca9f
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
RTCP/IONProc/src/OutputSection.cc
+4
-3
4 additions, 3 deletions
RTCP/IONProc/src/OutputSection.cc
with
4 additions
and
3 deletions
RTCP/IONProc/src/OutputSection.cc
+
4
−
3
View file @
a617e2dd
...
...
@@ -32,6 +32,7 @@
#include
<Scheduling.h>
#include
<boost/format.hpp>
#include
<iomanip>
// for std::setw
namespace
LOFAR
{
...
...
@@ -166,7 +167,7 @@ OutputSection::~OutputSection()
for
(
unsigned
i
=
0
;
i
<
itsOutputThreads
.
size
();
i
++
)
{
if
(
itsIsRealTime
&&
!
itsOutputThreads
[
i
]
->
itsThread
.
wait
(
timeout
))
{
LOG_WARN_STR
(
itsLogPrefix
<<
" stream "
<<
setw
(
3
)
<<
itsFirstStreamNr
+
i
<<
"] cancelling output thread"
);
LOG_WARN_STR
(
itsLogPrefix
<<
" stream "
<<
std
::
setw
(
3
)
<<
itsFirstStreamNr
+
i
<<
"] cancelling output thread"
);
itsOutputThreads
[
i
]
->
itsThread
.
cancel
();
}
...
...
@@ -204,14 +205,14 @@ void OutputSection::noMoreIterations()
void
OutputSection
::
droppingData
(
unsigned
stream
)
{
if
(
itsDroppedCount
[
stream
]
++
==
0
)
LOG_WARN_STR
(
itsLogPrefix
<<
" stream "
<<
setw
(
3
)
<<
itsFirstStreamNr
+
stream
<<
"] Dropping data"
);
LOG_WARN_STR
(
itsLogPrefix
<<
" stream "
<<
std
::
setw
(
3
)
<<
itsFirstStreamNr
+
stream
<<
"] Dropping data"
);
}
void
OutputSection
::
notDroppingData
(
unsigned
stream
)
{
if
(
itsDroppedCount
[
stream
]
>
0
)
{
LOG_WARN_STR
(
itsLogPrefix
<<
" stream "
<<
setw
(
3
)
<<
itsFirstStreamNr
+
stream
<<
"] Dropped "
<<
itsDroppedCount
[
stream
]
<<
" blocks"
);
LOG_WARN_STR
(
itsLogPrefix
<<
" stream "
<<
std
::
setw
(
3
)
<<
itsFirstStreamNr
+
stream
<<
"] Dropped "
<<
itsDroppedCount
[
stream
]
<<
" blocks"
);
itsDroppedCount
[
stream
]
=
0
;
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment