<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://robowiki.net/w/index.php?action=history&amp;feed=atom&amp;title=Thread%3AUser_talk%3ABeaming%2FcpuConstant</id>
	<title>Thread:User talk:Beaming/cpuConstant - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://robowiki.net/w/index.php?action=history&amp;feed=atom&amp;title=Thread%3AUser_talk%3ABeaming%2FcpuConstant"/>
	<link rel="alternate" type="text/html" href="http://robowiki.net/w/index.php?title=Thread:User_talk:Beaming/cpuConstant&amp;action=history"/>
	<updated>2026-05-05T11:39:00Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.34.1</generator>
	<entry>
		<id>http://robowiki.net/w/index.php?title=Thread:User_talk:Beaming/cpuConstant&amp;diff=53065&amp;oldid=prev</id>
		<title>Beaming: New thread: cpuConstant</title>
		<link rel="alternate" type="text/html" href="http://robowiki.net/w/index.php?title=Thread:User_talk:Beaming/cpuConstant&amp;diff=53065&amp;oldid=prev"/>
		<updated>2017-10-17T02:37:56Z</updated>

		<summary type="html">&lt;p&gt;New thread: cpuConstant&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Hi all,&lt;br /&gt;
I decided to work on my skipped turns and to watch my execution time.&lt;br /&gt;
As the first step, I recalculated cpuConstant according to [https://github.com/robo-code/robocode/blob/e8d22f67be3687d42a3002cbc6a73b1434025b53/robocode.host/src/main/java/net/sf/robocode/host/CpuManager.java cpuManager code] (I wish it would be available from within the robot) at the beginning of each round. Guess what. The number wildly fluctuate.&lt;br /&gt;
By wildly, we are talkin more than FOUR times!!! On the short end of the spectrum&lt;br /&gt;
cpuConstant is about 8mS and it can be as large as 35mS.&lt;br /&gt;
&lt;br /&gt;
Any ideas what is going on? Everything is done with openjdk8. One difference from the original code: I measure time with &amp;lt;code&amp;gt;System.nanoTime()&amp;lt;/code&amp;gt;&lt;/div&gt;</summary>
		<author><name>Beaming</name></author>
		
	</entry>
</feed>