[pulseaudio-discuss] [PATCH] use CLOCK_MONOTONIC_COARSE to reduce the system call

Pierre-Louis Bossart pierre-louis.bossart at linux.intel.com
Thu Mar 29 16:27:38 PDT 2012


On 3/29/2012 8:31 AM, Deng Zhenrong wrote:
> According to the description below:
>
>          http://lkml.org/lkml/2009/7/17/258
>
> There are two benefits:
> a) it doesn't need to access the hardware.
> b) avoid the syscall by using vdso clock_gettime().
>
> The cons is the CLOCK_MONOTONIC_COARSE returns the time at the last
> tick.
>
Is this something desirable for PulseAudio? This could impact the 
timer-based scheduling, I'd rather keep the precision here.
-Pierre


More information about the pulseaudio-discuss mailing list