[LAU] Is ALSA using hrtimer?

Clemens Ladisch clemens at ladisch.de
Fri May 28 06:16:45 UTC 2010


Grant wrote:
> I have hrtimer support compiled into my kernel, but when I watch 'top'
> while music is playing I can see that 'timer' uses CPU cycles but
> 'hrtimer' never does.  How can I find out if ALSA is using hrtimer?

ALSA uses the sound card interrupt for timing.  The hrtimer is used only
for MIDI playback and for sound cards without interrupts, such as the
SuperH, i.MX, PC Speaker, and dummy devices.


Regards,
Clemens


More information about the Linux-audio-user mailing list