get cpu constant at runtime
glipchev <[email protected]> Wed, 28 Oct 2015 14:22:44 -0700 (PDT)
| Newsgroups | gmane.comp.java.robocode |
|---|---|
| Message-ID | <[email protected]> |
Hello everybody, I would like to adjust my robot's execution time according to the cpu constant that is calculated for the current system. I had a look at the cpu manager and could surely perform the mini benchmark as well but I would rather be doing something more useful instead :) Wouldn't it be great if the api provided us with a getter and/or a recalculation event for the constant? Not to mention some helper methods such as getTurnTimeRemaining() as well as the great ideas mentioned in this old thread: https://groups.google.com/forum/#!topic/robocode-developers/KxGrtedsbvc Cheers, Galin -- You received this message because you are subscribed to the Google Groups "robocode" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.