[Ffmpeg-devel] [patch] START/STOP_TIMER for ppc32

matthieu castet castet.matthieu
Sun May 22 10:39:17 CEST 2005


Romain Dolbeau wrote:
> Luca Barbato wrote:
> 
>> The first time I read it I thought was osx only ^^;
> 
> 
> I haven't tested it under linux, but there's no reason why
> it shouldn't work (famous last words :-)
> 
>> It seems to collect the data from UPMCs but I couldn't find the way you
>> use to set them up.
> 
> 
> I don't :-( Under OSX, I set up the registers with the "Monster" tool.
> Setting up the PMC is a privileged operation, so you need a kernel-level
> tool (Monster uses a kernel extension). I don't know of a tool under
> linux, but I remember seeing PMC-related code in the kernel, so I
> assume it"s possible...
> 
There http://user.it.uu.se/~mikpe/linux/perfctr/ that support x86, ppc, 
ppc64 PMC but the code isn't yet in linux mainline kernel (it is in -mm).


Matthieu





More information about the ffmpeg-devel mailing list