added a comment

This commit is contained in:
Volker Fischer 2020-06-20 22:11:03 +02:00
parent a9bc36c98d
commit 4ebcaab5d7

View file

@ -1000,6 +1000,7 @@ static CTimingMeas JitterMeas ( 1000, "test2.dat" ); JitterMeas.Measure(); // TE
// TODO This does not work as expected, the CPU is at high levels even if not much work is to be done. So we
// have an issue using OMP in the OnTimer() function. Even if #pragma omp parallel for is used on a trivial
// for loop for testing, still the CPU usage goes to very high values -> What is the cause of this issue?
// NOTE Most probably it is the overhead of threads creation/destruction which causes this effect.
# pragma omp parallel for
#endif
for ( int i = 0; i < iNumClients; i++ )