Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Institute of Technical Acoustics (ITA)
ITASimulationScheduler
Commits
9a08c950
Commit
9a08c950
authored
Jul 14, 2020
by
Pascal Palenda
Browse files
Add some debug output for worker thread
parent
533b15af
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/ITA/simulation_scheduler/room_acoustics/raven/worker_thread.cpp
View file @
9a08c950
...
...
@@ -13,6 +13,7 @@
// ITA includes
#include
"ITAException.h"
#include
"ITALog.h"
#include
<ITADebug.h>
namespace
ITA
{
...
...
@@ -63,6 +64,9 @@ namespace ITA
while
(
isBusy
(
)
)
VistaTimeUtils
::
Sleep
(
100
);
StopGently
(
true
);
DEBUG_PRINTF
(
"[Thread Worker FOD %d]
\t
Thread Ended
\n
"
,
as_integer
(
m_eFieldOfDuty
)
);
}
bool
CWorkerThread
::
isBusy
(
)
...
...
@@ -161,7 +165,9 @@ namespace ITA
try
{
// Simulate (blocking)
DEBUG_PRINTF
(
"[Thread Worker FOD %d]
\t
Simulation Started
\n
"
,
as_integer
(
m_eFieldOfDuty
)
);
m_pSimulator
->
compute
(
pTask
,
pResult
.
get
(
)
);
DEBUG_PRINTF
(
"[Thread Worker FOD %d]
\t
Simulation Finished
\n
"
,
as_integer
(
m_eFieldOfDuty
)
);
}
catch
(
ITAException
&
e
)
{
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment