Aaron M. Hightower (aaron++at++skips.dseg.ti.com)
Wed, 27 Oct 93 23:31:00 CDT
(1) Number of triangles
(2) Framerate
(3) CPU load
in samples of 2 seconds. I have been working to get this working for a
very long time, and I have run into wall after wall.
I can poll for the number of triangles as done in pguide/libpf/progs/stats.c
but this only works when I have the gfx statistics being printed.
I then tried to enable all of the StatsClasses myself (just to get the number
of triangles). So I looked in perfly/gui.c and got the stat_values[]
for the "Gfx" and tried to pfStatsClass(stats,PFFSTATS_ENPFTIMES|PFSTATS_ENGFX|
PFFSTATS_ENDB|PFFSTATS_ENCULL|PFSTATSHW_ENCPU,PFSTATS_ON); but that didn't
seem to do the trick. I still couldn't get the number of triangles
without turning on the Gfx statistics print feature. (Much less anything else).
I haven't been able to pfQueryStats on anything except the
PFQSTATS_GFX_GEOM_TRIS and as said, they only come in when I go to Gfx
stats drawing from the GUI.
So how can I get the 3 above statistics on a period of 2 seconds? (As
in how do I modify Perfly to let me do this?)
Thanks,
Aaron Hightower
-----------------------------------------------------------------------------
Aaron Hightower :: Texas Instruments aaron++at++dseg.ti.com
Visualization and Simulation Technology Development (214)575-6759 (w)
Here he comes, here comes speed racer (214)517-9245 (h)
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:50:04 PDT