On Tue, 12 Dec 2006 18:17:22 -0500 Dennis Schridde <[EMAIL PROTECTED]> wrote: >Am Dienstag, 12. Dezember 2006 23:24 schrieb [EMAIL PROTECTED]: >> 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. >Was droidUpdate changed lately? Because I _think_ that I didn't >see it that >high when I last run Valgrind. (A few month, maybe half a year, >ago.)
>> _gameLoop 69.225 >> _memPointerValid 34.174 >> _treapFindRec 31.548 >> _droidUpdate 22.202 >> _blkPointerValidAll 21.826 >> _blkPointerValid 21.251 >> _displayWorld 20.499 >> _draw3DScene 20.486 >> _displayTerrain 19.721 >> _drawTiles 19.717 >> _memBlockCmp 14.416 >> _structureUpdate 11.091 >> _bucketRenderCurrentList 10.404 >> _heapIntegrityCheck 7.245 >> _levLoadData 7.142 >This seems to indicate that you didn't run your test long >enough... >levLoadData should only be called once, at the start of the game, >so actually >I think it can't be that it eats 7% of the runtime... > >How did you create that list? >@[EMAIL PROTECTED] looks like a msvcrt function... So did you >create that >list somehow via MSVC? > >--Dennis I brought the source to a friend who has the Pro version of VS2005, and it has a profiler and all that good stuff. I let it run for about 5 mins. I was mainly wondering what eats up the most time. I didn't know valgrind does the same thing. Concerned about your privacy? Instantly send FREE secure email, no account required http://www.hushmail.com/send?l=480 Get the best prices on SSL certificates from Hushmail https://www.hushssl.com?l=485 _______________________________________________ Warzone-dev mailing list [email protected] https://mail.gna.org/listinfo/warzone-dev
