Hi,
I am facing a vague problem regarding profiling irregularity with my code. I use hardware timer for profiling. When i profile my code I get a certain time say "T" ms. Next time if i profile it, it takes "T+30" ms: however it can also take "T" ms. This 30 ms addition is completely random and occurs irregularly. Thus i am not able to establish a benchmark for optimization. I run my code in release mode with program level and O3 optimization.I am profiling using BIOS function CLK_getltime().
Please let me know the compiler settings necessary and how i should approach this problem.
Thanks You