sleepTime: Difference between revisions

From OpenKore Wiki
Jump to navigation Jump to search
(Created page with '; sleepTime (<microseconds>) : Sleeps for the specified microseconds every program cycle to conserve CPU cycles. Setting it to a higher value will make Kore use less CPU power, …')
 
m (Conversion script moved page SleepTime to sleepTime: Converting page titles to lowercase)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
; sleepTime (<microseconds>)
; sleepTime <microseconds>
: Sleeps for the specified microseconds every program cycle to conserve CPU cycles.
: Sleeps for the specified microseconds every program cycle to conserve CPU cycles.



Latest revision as of 22:34, 26 April 2021

sleepTime <microseconds>
Sleeps for the specified microseconds every program cycle to conserve CPU cycles.

Setting it to a higher value will make Kore use less CPU power, but also less responsive. If you run just one or two bots, then you should leave it at the default value of 10000. However, if you run many bots, and CPU usage is a concern, then you should set it to a higher value. In that case, a value of 50000 is recommended. It's generally not recommended to set the value higher than 200000, as it will make your bot very unresponsive.