added a comment
This commit is contained in:
parent
a9bc36c98d
commit
4ebcaab5d7
1 changed files with 1 additions and 0 deletions
|
@ -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
|
// 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
|
// 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?
|
// 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
|
# pragma omp parallel for
|
||||||
#endif
|
#endif
|
||||||
for ( int i = 0; i < iNumClients; i++ )
|
for ( int i = 0; i < iNumClients; i++ )
|
||||||
|
|
Loading…
Reference in a new issue