From 4ebcaab5d7c98022dd8adfebfb1e88623dc0cdf5 Mon Sep 17 00:00:00 2001 From: Volker Fischer Date: Sat, 20 Jun 2020 22:11:03 +0200 Subject: [PATCH] added a comment --- src/server.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/server.cpp b/src/server.cpp index efaeb650..b02bd27b 100755 --- a/src/server.cpp +++ b/src/server.cpp @@ -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++ )