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)
IPB Image
next add the timer in the ID slot (bot_profiling.cpp)
IPB Image
next start and stop the timer you made -- this is the Navigation timer
IPB Image
it will show up when you start to debug using this command
IPB Image
it will look a bit like this (ignore the "min" atm it is broken in this image)
IPB Image
add a bot
IPB Image
and the timers will appear
(ignore the percentage difference/its not indicative of actual CPU power)
IPB Image
we can now see how much time things take up