<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Systemzeit: Ticks von 55 auf 1ms runtersetzten]]></title><description><![CDATA[<p>Hallo,</p>
<p>Der System-timer hat ja 18 Ticks pro Sekunde. Das entspricht einer Auflösung von ca 55 ms. Ich hätte gerne eine Auflösung von 1ms.<br />
Unter DOS war es möglich diese Ticks (zb. auf 10ms) runterzusetzen.</p>
<p>Wie kann ich die Ticks des System-timers einstellen.</p>
<p>Danke</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/99965/systemzeit-ticks-von-55-auf-1ms-runtersetzten</link><generator>RSS for Node</generator><lastBuildDate>Tue, 28 Apr 2026 17:50:12 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/99965.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 02 Feb 2005 15:00:48 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Systemzeit: Ticks von 55 auf 1ms runtersetzten on Wed, 02 Feb 2005 15:00:48 GMT]]></title><description><![CDATA[<p>Hallo,</p>
<p>Der System-timer hat ja 18 Ticks pro Sekunde. Das entspricht einer Auflösung von ca 55 ms. Ich hätte gerne eine Auflösung von 1ms.<br />
Unter DOS war es möglich diese Ticks (zb. auf 10ms) runterzusetzen.</p>
<p>Wie kann ich die Ticks des System-timers einstellen.</p>
<p>Danke</p>
]]></description><link>https://www.c-plusplus.net/forum/post/712920</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/712920</guid><dc:creator><![CDATA[&amp;lt;nussknacker&amp;gt;]]></dc:creator><pubDate>Wed, 02 Feb 2005 15:00:48 GMT</pubDate></item><item><title><![CDATA[Reply to Systemzeit: Ticks von 55 auf 1ms runtersetzten on Tue, 08 Feb 2005 12:13:10 GMT]]></title><description><![CDATA[<p>vielleicht ist:<br />
timeBeginPeriod<br />
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/multimed/htm/_win32_timebeginperiod.asp" rel="nofollow">http://msdn.microsoft.com/library/default.asp?url=/library/en-us/multimed/htm/_win32_timebeginperiod.asp</a><br />
die gesuchte API</p>
]]></description><link>https://www.c-plusplus.net/forum/post/717595</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/717595</guid><dc:creator><![CDATA[CDW]]></dc:creator><pubDate>Tue, 08 Feb 2005 12:13:10 GMT</pubDate></item><item><title><![CDATA[Reply to Systemzeit: Ticks von 55 auf 1ms runtersetzten on Wed, 09 Feb 2005 16:10:39 GMT]]></title><description><![CDATA[<p>dürfte schwierig sein unter 20 ms, oder willst du messen??</p>
<pre><code class="language-cpp">class CQTimer
{
public:
   CQTimer()
   {
			m_dwtime=0;
      QueryPerformanceFrequency((LARGE_INTEGER*)&amp;m_freq);
   }
   // starts the timer
   void Start()
   {
      QueryPerformanceCounter((LARGE_INTEGER*)&amp;m_start);
   }
   // returns the number of milliseconds
   DWORD End()
   {
      __int64 li, diff;
      QueryPerformanceCounter((LARGE_INTEGER*)&amp;li);
      diff = li - m_start;
      diff = (diff * 1000)/m_freq;
			m_dwtime=(DWORD)(diff &amp; 0xffffffff);
      return m_dwtime;
   }

public:
	DWORD		 m_dwtime;

private:
   __int64 m_freq;
   __int64 m_start;
};
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/718831</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/718831</guid><dc:creator><![CDATA[vdittrich]]></dc:creator><pubDate>Wed, 09 Feb 2005 16:10:39 GMT</pubDate></item></channel></rss>