On Tue, Dec 12, 2006 at 05:24:59PM -0500, [EMAIL PROTECTED] wrote:
> You want to know what takes up all the time in WZ?  Well, here is 
> the data.
> This was just starting a campaign and building the HQ and other 
> buildings, and getting the oil well.
> The #'s are percent.  (gameLoop is called 69% of the time..and so 
> on)
> I thought the most would be the Draw stuff, but it is not.  
> DroidUpdate ranks above that!  Also note, this is a debug build.

The debug build explains some of the data from below..
> 
> _gameLoop     69.225
> _memPointerValid      34.174
> _treapFindRec 31.548
> _droidUpdate  22.202
> _blkPointerValidAll   21.826
> _blkPointerValid      21.251

_blkPointerValid only does Validation when DEBUG_BLOCK is enabled, and
only then this function calls treapFindRec. So these calls should cause
close to nothing running time when running without DEBUG.

Regards,
Stefan


_______________________________________________
Warzone-dev mailing list
[email protected]
https://mail.gna.org/listinfo/warzone-dev

Reply via email to