![]() |
![]() ![]() |
![]() |
Cheeseh |
![]()
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: 16th June 2025 - 05:21 PM |