Hi, I am trying to time my piece of code using performance counters. I see that there we cannot use the cycle count from the cores due to turbo boost and various other frequency variations in the CPU. For this I think I should use the Invariant TSC value provided by "getInvariantTSC()". But, there is no corresponding Invariant TSC frequency value which I need to calculate the time. How do I get this frequency? Or should I use QueryPerformanceCounter/Frequency() on Windows? Thanks, Pranith
Para obter mais informações sobre otimizações de compiladores, consulte Aviso sobre otimizações.