Kjetil S. Matheussen wrote: > Paul Davis wrote: >> the cycle counter on intel systems is (was?) guaranteed to run exactly >> in sync. AMD had a problem a few generations back where they neglected >> to provide this feature and it caused havoc for several different >> categories of users. they corrected their error very quickly and i >> believe that all their chipsets will now also always have precisely >> A synced cycle counter. > > Thanks.
I would just warn that, AFAIK, on some CPUs frequency scaling affects TSC while not on some others... And the frequency of CPU clock is not necessarily very precise and can vary depending on hardware/temperature/etc. Some hardwares may employ spread spectrum on the clock - ie. generating jitter on the clock to lower EMI. Best option for timing is usually to use hardware intended for timing. Kernel can use HPET as clock source with "clocksource=hpet" parameter. - Jussi _______________________________________________ Linux-audio-dev mailing list Linux-audio-dev@lists.linuxaudio.org http://lists.linuxaudio.org/mailman/listinfo/linux-audio-dev