Re: Latency in statics graph

New Message Reply Date view Thread view Subject view Author view

From: Marcin Romaszewicz (marcin++at++asmodean.engr.sgi.com)
Date: 11/12/2001 12:02:42


It's not just the sum of APP+CULL+DRAW time, but rather the sum of three
frame boundaries. If you're swapping at 60Hz and running APP_CULL_DRAW,
the whole process pipeline takes 3 * 16.6 ms, since data does not flow in
the pipeline until the frame boundary.

-- Marcin

On Mon, 12 Nov 2001, Keith Parkins wrote:

> Marcin,
>
> This is what I thought, but the numbers don't add up. When I run the
> stats, I'll get approximately 2ms for app, 2ms for cull, and 7-9ms for
> draw. However the latency reported is 29ms. Do you know why this would
> be? The app line in the graph is solid for the 2ms length, but then a
> dotted line extends beyond the next frame (app 17ms from the looks). My
> question is whether or not my latency is arround 13ms which I get from
> adding or 29ms, and where are the extra 12ms comming from? I am running
> Performer 2.2 if that makes a difference.
>
> Keith
>
> On Wed, 31 Oct 2001, Marcin Romaszewicz wrote:
>
> >
> > The latency is how long it will take for a change you make in performer to
> > appear on the screen. Say you are running APP_CULL_DRAW multiprocess and
> > each process takes 10 ms. You make a change in the beginning of the app,
> > 10 ms later its in the cull, 10 ms after that its in the draw, and after
> > another 10 ms it's on your screen after a buffer swap.
> >
> > -- Marcin
> >
> > On Wed, 31 Oct 2001, Keith Parkins wrote:
> >
> > > Hi,
> > >
> > > When I toggle the statistics graph, I notice that the latency seems
> > > unusually high. My app cull and dram are all under 10ms but the latency
> > > can be up above 30ms. Is this latency due to drawing the satistics graph
> > > or due to some other area? Where should I be looking to trim down the
> > > time? I couldn't find documentation on this field in the stats graph, but
> > > if there is some, could you point it out to me?
> > >
> > > Thanks for the help!
> > > Keith
> > >
> > > -----------------------------------------------------------------------
> > > List Archives, Info, FAQ: http://www.sgi.com/software/performer/
> > > Open Development Project: http://oss.sgi.com/projects/performer/
> > > Submissions: info-performer++at++sgi.com
> > > Admin. requests: info-performer-request++at++sgi.com
> > > -----------------------------------------------------------------------
>


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Mon Nov 12 2001 - 12:02:46 PST

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.