In an older linux distro I could call get_cycle() after including asm/timex.h. Now I changed to Kubuntu 9.04 and there is no asm/timex.h, plus in sys/timex.h there is no get_cycle(). Does anyone know why this changed, how to access this function/macro or a replacement for it? Or, even better, where to read information about it?
In an older linux distro I could call get_cycle() after including asm/timex.h. Now I
Share
So, try including <tsc.h>.