<?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[Suche portablen C++-Timer]]></title><description><![CDATA[<p>Hallo <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f642.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--slightly_smiling_face"
      title=":)"
      alt="🙂"
    /></p>
<p>Ich hab schon gegoogelt aber nicht das gefunden was ich suche:<br />
einen kleinen überschaubaren Timer, in C++ geschrieben, der folgendes kann:</p>
<p>- Portabel (Win/Linux)<br />
- Man sollte abfragen können wieviel Zeit vergangen ist (von mir aus seit Programm/Windows-/linux-Start, dass ist egal)<br />
- Man muss irgendwie an die Differenz zwischen zwischen zwei Intervallen kommen können. Ich will z.B. fragen</p>
<pre><code class="language-cpp">Timer.ElapsedTime();
// mache etwas
Timer.DifferenceToLastElapsedTimeCall();
</code></pre>
<p>Gibt's irgendwo etwas vorgefertigtes? Mit Sicherheit, oder <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f609.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--winking_face"
      title=";)"
      alt="😉"
    /> Danke <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f60b.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--face_savoring_food"
      title=":yum:"
      alt="😋"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/topic/147955/suche-portablen-c-timer</link><generator>RSS for Node</generator><lastBuildDate>Fri, 04 Sep 2026 11:23:14 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/147955.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 22 May 2006 07:41:05 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Suche portablen C++-Timer on Mon, 22 May 2006 07:41:05 GMT]]></title><description><![CDATA[<p>Hallo <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f642.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--slightly_smiling_face"
      title=":)"
      alt="🙂"
    /></p>
<p>Ich hab schon gegoogelt aber nicht das gefunden was ich suche:<br />
einen kleinen überschaubaren Timer, in C++ geschrieben, der folgendes kann:</p>
<p>- Portabel (Win/Linux)<br />
- Man sollte abfragen können wieviel Zeit vergangen ist (von mir aus seit Programm/Windows-/linux-Start, dass ist egal)<br />
- Man muss irgendwie an die Differenz zwischen zwischen zwei Intervallen kommen können. Ich will z.B. fragen</p>
<pre><code class="language-cpp">Timer.ElapsedTime();
// mache etwas
Timer.DifferenceToLastElapsedTimeCall();
</code></pre>
<p>Gibt's irgendwo etwas vorgefertigtes? Mit Sicherheit, oder <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f609.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--winking_face"
      title=";)"
      alt="😉"
    /> Danke <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f60b.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--face_savoring_food"
      title=":yum:"
      alt="😋"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1062519</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1062519</guid><dc:creator><![CDATA[Time5001]]></dc:creator><pubDate>Mon, 22 May 2006 07:41:05 GMT</pubDate></item><item><title><![CDATA[Reply to Suche portablen C++-Timer on Mon, 22 May 2006 07:45:29 GMT]]></title><description><![CDATA[<p>Hallo</p>
<p>ja in der Boost-Library</p>
<p>bis bald<br />
akari</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1062521</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1062521</guid><dc:creator><![CDATA[akari]]></dc:creator><pubDate>Mon, 22 May 2006 07:45:29 GMT</pubDate></item><item><title><![CDATA[Reply to Suche portablen C++-Timer on Mon, 22 May 2006 08:15:57 GMT]]></title><description><![CDATA[<p>Du kannst dir auch mit time() oder clock() etwas eigenes bauen (ersteres zählt die Sekunden seit 1.1.1970, letzteres die Clock-Ticks (Sekunden*CLOCKS_PER_SEC) seit Programmstart).</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1062538</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1062538</guid><dc:creator><![CDATA[CStoll]]></dc:creator><pubDate>Mon, 22 May 2006 08:15:57 GMT</pubDate></item><item><title><![CDATA[Reply to Suche portablen C++-Timer on Mon, 22 May 2006 09:04:16 GMT]]></title><description><![CDATA[<p>Mit der C++ Stdlib kommste da nicht sehr weit. Du bräuchtest noch Multithreading um immer wieder die Zeit abzufragen. Schau dir mal Boost.Thread an und dann kannst du mit &lt;ctime&gt; was anfangen. Obwohl, Boost hat auch noch Date-Time Klassen. <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f609.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--winking_face"
      title=";)"
      alt="😉"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1062578</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1062578</guid><dc:creator><![CDATA[Artchi]]></dc:creator><pubDate>Mon, 22 May 2006 09:04:16 GMT</pubDate></item></channel></rss>