[MPlayer-dev-eng] MPlayer Profiling

Alex Beregszaszi alex at naxine.org
Sat Jan 19 20:59:44 CET 2002


Hi,

On Sat, Jan 19, 2002 at 08:52:26PM +0100, Michael Niedermayer wrote:
> Hi
> 
> On Saturday 19 January 2002 18:14, Mike Melanson wrote:
> > Hi team,
> > 	I've been playing with the profiling support in MPlayer. I never
> > even knew about the time stamp counter before. Pretty spiffy. A few
> > questions:
> >
> > 1) Is the time stamp counter part of a process' context, so that
> > context-switching can't mess with it?
> dunno, i would guess its not saved :(

It's not saved. Think about it, cpu timestamp counter isn't ordered to a
process. It's general. my_profile.h uses rdtsc (read timestamp counter),
so process switching makes false values for us...

If i'm right ;)

--
alex

> 
> [...]
> 
> Michael
> _______________________________________________
> MPlayer-dev-eng mailing list
> MPlayer-dev-eng at mplayerhq.hu
> http://mplayerhq.hu/mailman/listinfo/mplayer-dev-eng



More information about the MPlayer-dev-eng mailing list