From marrou@melange.vsl.ist.ucf.edu  Mon Oct 11 12:56:43 1993
Date: Mon, 11 Oct 93 15:57:43 -0400
From: marrou@melange.vsl.ist.ucf.edu (Lance Marrou)
Message-Id: <9310111957.AA24081@melange.vsl.ist.ucf.edu>
To: info-performer@sgi.sgi.com
Subject: obtaining frame rate
Status: OR

How do I obtain the actual, achieved frame rate of the system?
pfGetFrameRate() returns the system frame rate set in pfFrameRate(),
so that is not the answer.
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Lance R. Marrou
   --  IST Visual Systems Lab
   --  E-mail: marrou@ist.ucf.edu




From abramsh@erau.db.erau.edu  Mon Oct 11 14:07:27 1993
Message-Id: <m0omUU1-0007wAC@erau.db.erau.edu>
From: abramsh@erau.db.erau.edu (Howard Abrams)
Subject: Re: obtaining frame rate
To: info-performer@sgi.sgi.com
Date: Mon, 11 Oct 93 16:57:16 EDT
In-Reply-To: <9310111957.AA24081@melange.vsl.ist.ucf.edu>; from "Lance Marrou" at Oct 11, 93 3:57 pm
X-Mailer: ELM [version 2.3 PL11]
Status: OR

> 
> How do I obtain the actual, achieved frame rate of the system?
> pfGetFrameRate() returns the system frame rate set in pfFrameRate(),
> so that is not the answer.
>

 One answer could be to calculate the time it took to go though the loop.

 ie.  Actual_FPS = 1 / Change_in_time.

 where to get the time is a different story. I tried using pfGetTime()(?)
 but it often returned strange results.
 
                    --- Howard Abrams

(_/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\_)
(|                                   ..                                     |)
(|     abramsh@erau.db.erau.edu      ..       - Real Men See 60Hz -         |)
(|                                   ..                                     |)
(\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/)



From mtj@babar  Mon Oct 11 14:37:03 1993
From: "Michael Jones" <mtj@babar>
Message-Id: <9310111436.ZM23087@babar.asd.sgi.com>
Date: Mon, 11 Oct 1993 14:36:49 -0700
In-Reply-To: abramsh@erau.db.erau.edu (Howard Abrams)
        "Re: obtaining frame rate" (Oct 11,  4:57pm)
References: <m0omUU1-0007wAC@erau.db.erau.edu>
X-Mailer: Z-Mail (3.0B.0 25aug93 MediaMail)
To: abramsh@erau.db.erau.edu (Howard Abrams), info-performer@sgi.sgi.com
Subject: Re: obtaining frame rate
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0
Status: OR

On Oct 11,  4:57pm, Howard Abrams wrote:
> Subject: Re: obtaining frame rate
 ... I tried using pfGetTime()(?) but it often returned strange results.

Was this on an IO2 system? You'd know if "hinv|grep IO2" says something.
Otherwise, you have an unexpected bug. Please say more.

-- 

Be seeing you,      mtj@sgi.com  415.390.1455  M/S 7L-590
Michael Jones       Silicon Graphics, Advanced Graphics Division
                    2011 N. Shoreline Blvd., Mtn. View, CA 94039-7311






From jimh@surreal  Mon Oct 11 14:42:04 1993
Message-Id: <9310112141.AA22980@surreal.asd.sgi.com>
To: abramsh@erau.db.erau.edu (Howard Abrams)
Cc: info-performer@sgi.sgi.com
Subject: Re: obtaining frame rate 
In-Reply-To: Your message of "Mon, 11 Oct 93 16:57:16 EDT."
             <m0omUU1-0007wAC@erau.db.erau.edu> 
Date: Mon, 11 Oct 93 14:41:57 -0700
From: Jim Helman <jimh@surreal>
Status: OR

  
   where to get the time is a different story. I tried using pfGetTime()(?)
   but it often returned strange results.
   
There was a bug in 1.0 (fixed in 1.1) which caused pfGetTime()
to occasionally return bad values (off by 4000+ seconds!!!) on
machines without a fast counter, e.g. PowerSeries/IO2.  But if
you've seen bad time values on an Indigo, Indigo2, PI/35,
PowerSeries/IO3, Crimson, Onyx running any version of Performer
or on an Indy running the 1.2 beta, speak up.

rgds,

-jim helman

jimh@surreal.asd.sgi.com
415/390-1151









