the pink line is running without openMP;
the red line is running with one thread using openMP;
the blue line is running with two threads.
[C66xx_0] ROT#1 = [ 7699483 ] cycles
Hello World from thread = 0
Number of threads = 1
ROT#OMP = [ 7691248 ] cycles
Hello World from thread = 0
Number of threads = 2
ROT#OMP = [ 7699744 ] cycles
[C66xx_1] Hello World from thread = 1
ROT#OMP = [ 0 ] cycles
[C66xx_0] OMP TIME = [ 874812474 ] cycles
ROT#2 = [ 7699211 ] cycles
The question is why there is no difference about time between one thread and two threads?
How to play to the efficiency of openMP?