[MPlayer-dev-eng] [PATCH] use timer-lx.c on darwin & osx

Chris Roccati roccati at pobox.com
Tue Apr 26 23:11:33 CEST 2005


On 26 Apr 2005, at 22:19, Nicolas Plourde wrote:
> I ran some benchmark using both timer and my result are showing
> not much performance lost using timer-darwin.c(not taking cpu load 
> into account).
> But has previously reported by Dieter Shirley <dete at mac.com>, 
> usec_sleep is called way too often.

The patch suggested by Dieter Shirley reduces the "fudge factor" from 
0.020 to 0.005, decreasing the number of calls of usleep(0) which under 
MacOS X seems to give good results. The question is if this has a 
negative impact for the other architectures. Anyone willing to take 
some test?




More information about the MPlayer-dev-eng mailing list