TSC useful for embedded
TSC useful for embedded
Posted May 20, 2010 13:49 UTC (Thu) by abatters (✭ supporter ✭, #6932)Parent article: The trouble with the TSC
I write code for embedded x86 systems. I use RDTSC in my code on embedded systems where testing has shown it to be reliable. I don't use it with AMD processors or boards with multiple CPU sockets, etc. Most applications have to run on a large variety of hardware, but my embedded code runs only on hardware that I personally test and verify to work. Maybe you can't use RDTSC in a reliable way in general applications on general hardware, but in more restricted circumstances it can be useful.