This is much less precise than the cycle counter register, but the cycle counter register is not available on apple platforms (and on linux, it requires a kernel module for allowing user mode access). Signed-off-by: Martin Storsjö <martin@martin.st>
Originally committed as revision 22340 to svn://svn.ffmpeg.org/ffmpeg/trunk
Originally committed as revision 18305 to svn://svn.ffmpeg.org/ffmpeg/trunk