<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.3.1" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>
<channel>
	<title>Comments on: How to clock routines which (should) go faster than 1 sec</title>
	<link>http://www.fourone.se/blog/2008/03/28/how-to-clock-routines-which-should-go-faster-than-1-sec/</link>
	<description>Dynamics AX development blog</description>
	<pubDate>Thu, 09 Sep 2010 18:20:06 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.1</generator>
		<item>
		<title>By: Henrik Laurell</title>
		<link>http://www.fourone.se/blog/2008/03/28/how-to-clock-routines-which-should-go-faster-than-1-sec/#comment-100</link>
		<dc:creator>Henrik Laurell</dc:creator>
		<pubDate>Fri, 28 Mar 2008 16:52:25 +0000</pubDate>
		<guid>http://www.fourone.se/blog/2008/03/28/how-to-clock-routines-which-should-go-faster-than-1-sec/#comment-100</guid>
		<description>The getTickCount method is of course much better. Thanks for the tip, I will add an update to this later with that included.

/Henrik</description>
		<content:encoded><![CDATA[<p>The getTickCount method is of course much better. Thanks for the tip, I will add an update to this later with that included.</p>
<p>/Henrik</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Björn</title>
		<link>http://www.fourone.se/blog/2008/03/28/how-to-clock-routines-which-should-go-faster-than-1-sec/#comment-99</link>
		<dc:creator>Björn</dc:creator>
		<pubDate>Fri, 28 Mar 2008 16:44:34 +0000</pubDate>
		<guid>http://www.fourone.se/blog/2008/03/28/how-to-clock-routines-which-should-go-faster-than-1-sec/#comment-99</guid>
		<description>Interesting use of setTimeOut().  But with all function calls to updateTimer, I think there's still a rather large overhead and measuring error, hence the unreliability you noticed.

Have you considered using WinAPI::getTickcount()?  It's a wrapper around the Windows GetTickCount function which returns the number of milliseconds the system has been running.  It's what the Timer class in 3.0 uses.</description>
		<content:encoded><![CDATA[<p>Interesting use of setTimeOut().  But with all function calls to updateTimer, I think there&#8217;s still a rather large overhead and measuring error, hence the unreliability you noticed.</p>
<p>Have you considered using WinAPI::getTickcount()?  It&#8217;s a wrapper around the Windows GetTickCount function which returns the number of milliseconds the system has been running.  It&#8217;s what the Timer class in 3.0 uses.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
