pfFrameStats

New Message Reply Date view Thread view Subject view Author view

From: Per Fahlberg (Per.Fahlberg++at++saab.se)
Date: 01/26/2001 02:06:35


Hi all!

I'm trying to use pfFrameStats to collect statistics about my performer
application. The application is written in C.

I found that the C pfstats.h and the C++ pf/pfFrameStats.h differ in
some structures. For example the structure pfFStatsValProc looks like
this in pfstats.h:

typedef struct pfFStatsValProc
{
    float total; /*
PFFSTATSVAL_*_TOTAL */
    float app; /*
PFFSTATSVAL_*_APP */
    float cull; /*
PFFSTATSVAL_*_CULL */
    float draw; /*
PFFSTATSVAL_*_DRAW */
    float isect; /*
PFFSTATSVAL_*_ISECT */
    float dbase; /*
PFFSTATSVAL_*_DBASE */
} pfFStatsValProc;

and like this in pf/pfFrameStats.h:

typedef struct pfFStatsValProc
{
    float total; /* PFFSTATSVAL_*_TOTAL */
    float app; /* PFFSTATSVAL_*_APP */
    float cull; /* PFFSTATSVAL_*_CULL */
    float draw; /* PFFSTATSVAL_*_DRAW */
    float isect; /* PFFSTATSVAL_*_ISECT */
    float dbase; /* PFFSTATSVAL_*_DBASE */
    float lpoint; /* PFFSTATSVAL_*_LPOINT */
    float compute; /* PFFSTATSVAL_*_COMPUTE */
} pfFStatsValProc;

The number of entries in the structs differ.

When calling pfQueryStats it seems like the struct in pf/pfFrameStats.h
is used, but the only struct that I have access to is the one in
pfstats.h.

There are more structs that differ in size and order.

Is it supposed to be this way and if so what am I doing wrong?

The Performer version is 2.2.10, but the files are the same in 2.4 for
Linux.

/Per


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Fri Jan 26 2001 - 02:07:41 PST

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