I am getting a strange output because of profiling my code. For the main calculation of code it correctly shows that more that 70% of time has been spent on those parts but there are some other interesting points. The following line takes %5.8
int counter = 0 ; // %5.8 of total time
and the following For loop has less time consumption (nx = 800 & ny=800)!
How this is possible?
Picture of the profiler result was attached.
