Skipped Turns

Fragment of a discussion from Talk:Oculus
Jump to navigation Jump to search

The permitted amount of time per tic for a robot is given by "cpuConstant" (see the source). On a modern computer it is about 5 -- 6 mS. You can check/recalculate it via the menu in GUI, see under options. It is reported in nano seconds.

If you want to time your bot, I would recomment to use nanoTime() call for profiling. You can see how a bit more fancy profiling done via a special class at [[1]] I am using it in EvBotNG. If you look at console, you will see profiler info at the end of every round.

Beaming (talk)20:57, 11 September 2017

Mine is a bit slow. It's about 6.4 milliseconds.

Dsekercioglu (talk)12:45, 12 September 2017