David Megginson writes:
>
>Norman Vine writes:
>
> > all figures are for at rest no HUD or Panel Default location
> > at Noon Brakes on  MingW32 compiled on Win2k
> > Geforce2 GTS  No model shown ie. View[0]
> >
> > March 16     ~78 fps
> > last week     ~71 fps
> > today           ~66 fps
> >
> > this is a negative change of 15%  :-(((
>
>You've been at this long enough that I don't have to ask about same
>date, time of day, view direction, etc.  Is anyone else seeing a
>similar change?  We're doing a lot of refactoring of the view code
>(Norm's skipping the model code), so some optimizations might have
>been lost temporarily.
>
>You can rule out FDM problems by testing with several FDMs, including
>the magic carpet.

This profiling run might be enlightening

 time   seconds   seconds    calls  us/call  us/call  name
 35.17      1.21     1.21    63915    18.93    29.20  fgRenderFrame(void)
 14.53      1.71     0.50    63915     7.82    49.75  fgMainLoop(void)
 11.63      2.11     0.40    63899     6.26    11.11
fgUpdateTimeDepCalcs(void)
  5.81      2.31     0.20  3455357     0.06     0.06
FGGlobals::get_current_view(void) const
  4.07      2.45     0.14   657919     0.21     0.21  fgGetBool(char const
*, bool)
  3.49      2.57     0.12  2352563     0.05     0.05  fgGetDouble(char const
*, double)
  3.49      2.69     0.12   128618     0.93     0.93  getVisibility(void)
  3.49      2.81     0.12    64303     1.87     2.26  fgReshape(int, int)
  3.20      2.92     0.11  1617164     0.07     0.07  fgGetNode(char const
*, int, bool)
  2.33      3.00     0.08  1222609     0.07     0.07  fgGetInt(char const *,
int)
  2.33      3.08     0.08    64302     1.24     1.26  fgUpdateDCS(void)
  2.03      3.15     0.07    64302     1.09     1.09  FGLogger::update(int)
  2.03      3.22     0.07    63915     1.10     1.10  fgIOProcess(void)
  1.45      3.27     0.05    64303     0.78     0.78  getTextures(void)
  1.16      3.31     0.04  2109792     0.02     0.02  fgGetString(char const
*, char const *)
  1.16      3.35     0.04    64303     0.62     0.62  fgUpdateProps(void)

Anyone know how to count 'cache invalidations' ?

Norman


_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel

Reply via email to