<?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[Welche Zeiteinheit ist es nun? (QueryPerformanceCounter)]]></title><description><![CDATA[<p>Hallo!</p>
<p>Wenn ich die Laufzeit folgendermaßen messe:</p>
<pre><code class="language-cpp">QueryPerformanceFrequency((LARGE_INTEGER*)&amp;g_Frequency); 
QueryPerformanceCounter((LARGE_INTEGER*)&amp;g_CurentCount); 

// Programmstück

QueryPerformanceCounter((LARGE_INTEGER*)&amp;g_LastCount); 

dTimeDiff = (((double)(g_LastCount-g_CurentCount))/((double)g_Frequency));  
std::cout &lt;&lt; &quot;Zeit: &quot; &lt;&lt; dTimeDiff &lt;&lt; std::endl;

Ich welcher Zeiteinheit bekomm ich auf diese Weise mein Ergebnis auf den Schirm?
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/topic/229788/welche-zeiteinheit-ist-es-nun-queryperformancecounter</link><generator>RSS for Node</generator><lastBuildDate>Fri, 10 Apr 2026 05:37:13 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/229788.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 16 Dec 2008 17:54:08 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Welche Zeiteinheit ist es nun? (QueryPerformanceCounter) on Tue, 16 Dec 2008 17:54:08 GMT]]></title><description><![CDATA[<p>Hallo!</p>
<p>Wenn ich die Laufzeit folgendermaßen messe:</p>
<pre><code class="language-cpp">QueryPerformanceFrequency((LARGE_INTEGER*)&amp;g_Frequency); 
QueryPerformanceCounter((LARGE_INTEGER*)&amp;g_CurentCount); 

// Programmstück

QueryPerformanceCounter((LARGE_INTEGER*)&amp;g_LastCount); 

dTimeDiff = (((double)(g_LastCount-g_CurentCount))/((double)g_Frequency));  
std::cout &lt;&lt; &quot;Zeit: &quot; &lt;&lt; dTimeDiff &lt;&lt; std::endl;

Ich welcher Zeiteinheit bekomm ich auf diese Weise mein Ergebnis auf den Schirm?
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1631430</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1631430</guid><dc:creator><![CDATA[in was hab ichs jetzt?]]></dc:creator><pubDate>Tue, 16 Dec 2008 17:54:08 GMT</pubDate></item><item><title><![CDATA[Reply to Welche Zeiteinheit ist es nun? (QueryPerformanceCounter) on Tue, 16 Dec 2008 19:18:13 GMT]]></title><description><![CDATA[<p>Sekunden (siehe MSDN).</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1631459</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1631459</guid><dc:creator><![CDATA[this-*gt*that]]></dc:creator><pubDate>Tue, 16 Dec 2008 19:18:13 GMT</pubDate></item><item><title><![CDATA[Reply to Welche Zeiteinheit ist es nun? (QueryPerformanceCounter) on Tue, 16 Dec 2008 23:42:37 GMT]]></title><description><![CDATA[<p>Dieser Thread wurde von Moderator/in <a href="http://www.c-plusplus.net/forum/profile-var-mode-is-viewprofile-and-u-is-1819.html" rel="nofollow">rüdiger</a> aus dem Forum <a href="http://www.c-plusplus.net/forum/viewforum-var-f-is-8.html" rel="nofollow">Rund um die Programmierung</a> in das Forum <a href="http://www.c-plusplus.net/forum/viewforum-var-f-is-4.html" rel="nofollow">WinAPI</a> verschoben.</p>
<p>Im Zweifelsfall bitte auch folgende Hinweise beachten:<br />
<a href="http://www.c-plusplus.net/forum/viewtopic-var-t-is-39405.html" rel="nofollow">C/C++ Forum :: FAQ - Sonstiges :: Wohin mit meiner Frage?</a></p>
<p><em>Dieses Posting wurde automatisch erzeugt.</em></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1631558</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1631558</guid><dc:creator><![CDATA[C++ Forumbot]]></dc:creator><pubDate>Tue, 16 Dec 2008 23:42:37 GMT</pubDate></item></channel></rss>