Profiling, in SVN for next version |
Profiling, in SVN for next version |
Cheeseh |
Jul 9 2009, 08:34 PM
Post
#1
|
Admin Group: Admin Posts: 3,066 Joined: 11-September 03 From: uk Member No.: 1 |
A useful tool for developers. I had to make it because things started to get slow after about 6 bots are added, this should not slow so much.
To profile: first need to add a timer ID (bot_profiling.h) next add the timer in the ID slot (bot_profiling.cpp) next start and stop the timer you made -- this is the Navigation timer it will show up when you start to debug using this command it will look a bit like this (ignore the "min" atm it is broken in this image) add a bot and the timers will appear (ignore the percentage difference/its not indicative of actual CPU power) we can now see how much time things take up |
Lo-Fi Version | Time is now: 4th November 2024 - 10:51 PM |