Bill Storma (BILL++at++p3.enzian.com)
Tue, 12 Mar 1996 18:59:58 EDT
I have read through the Performer manuals and have gotten into the
basics of displaying statistics on all three screens. I have
three pfFrameStats structures setup, one for each pipe. I am using
pfStatsClass to enable the statisitics for each structure and
pfStatsClassMode to enable any modes. I am using pfChanStatsMode to
enable drawing the stats for each channel. I am using
pfDrawChanStats every frame to display the stats on all three pipes.
I have no trouble with the frametime, cull and database stats.
However, when displaying gfx, gfx_pipe_fill or cpu stats, the stats
are displayed on each pipe (apparently correctly), but I am getting an
error on a pfOpenStats for pipes 1 & 2 whenever I enable any of these
features. Since I do not get an error for pipe 0, I assume that there
is a special way to handle collecting stats for multipipe, or that my
procedure is not correct for setting up the collection and display of
the stats.
A sample (for pipe 0) to enable geometry stats would be:
pfStatsClass (FStats0, PFSTATS_ENGFX, PFSTATS_ON);
pfStatsClassMode (FStats0, PFSTATS_GFX, PFSTATS_GFX_GEOM, PFSTATS_ON);
pfChanStatsMode (Chan0, PFCSTATS_DRAW, PFSTATS_ENGFX);
Also, can someone tell me what the memory stats are supposed to do.
There are no details in the performer book and the PFSTATS_MEM
definition does not exist in any of the performer include files.
Can someone point me in the right direction for a better writeup
on using stats in performer or give me an idea how to use stats in a
multipipe environment ?
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Bill Storma Phone: 407-282-1884
Enzian Technology FAX: 407-282-3013
Orlando, Fl. 32817 e-mail: bill++at++p3.enzian.com
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:52:33 PDT