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

2012-03-31 Thread rong deng
在 2012年3月30日 下午12:48,Arun Raghavan arun.ragha...@collabora.co.uk写道: Hi, On Thu, 2012-03-29 at 21:31 +0800, 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)

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

2012-03-29 Thread Pierre-Louis Bossart
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

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

2012-03-29 Thread Arun Raghavan
Hi, On Thu, 2012-03-29 at 21:31 +0800, 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