3 ms·
It seems that someone simply tacked openmp on without checking if it actually increases performance in this case - which is unusual, because I remember a course
by Tade0 6y ago
It seems that someone simply tacked openmp on without checking if it actually increases performance in this case - which is unusual, because I remember a course in college, part of which was a project aiming to teach the student that openmp is not a silver bullet and should be used only when it actually helps.
- igouy 6y agoHow do you know that this is not one of those cases when openmp actually helps?
- JZerf 6y agoI submitted the C binary-trees program. I did check to see if OpenMP increased the performance and it most certainly does. Just looking at the CPU and clock time usage on https://benchmarksgame-team.pages.debian.net/benchmarksgame/performance/binarytrees.html https://benchmarksgame-team.pages.debian.net/benchmarksgame/... you can see that the clock time used is about one third of the CPU time that was used.