<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic how to get the wall time of special code line? in Intel® Moderncode for Parallel Architectures</title>
    <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/how-to-get-the-wall-time-of-special-code-line/m-p/1131023#M7691</link>
    <description>&lt;P&gt;how to get the wall time of special code line?&lt;/P&gt;</description>
    <pubDate>Tue, 29 Oct 2019 08:11:19 GMT</pubDate>
    <dc:creator>sun__lei</dc:creator>
    <dc:date>2019-10-29T08:11:19Z</dc:date>
    <item>
      <title>how to get the wall time of special code line?</title>
      <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/how-to-get-the-wall-time-of-special-code-line/m-p/1131023#M7691</link>
      <description>&lt;P&gt;how to get the wall time of special code line?&lt;/P&gt;</description>
      <pubDate>Tue, 29 Oct 2019 08:11:19 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/how-to-get-the-wall-time-of-special-code-line/m-p/1131023#M7691</guid>
      <dc:creator>sun__lei</dc:creator>
      <dc:date>2019-10-29T08:11:19Z</dc:date>
    </item>
    <item>
      <title>Here's an example:</title>
      <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/how-to-get-the-wall-time-of-special-code-line/m-p/1131024#M7692</link>
      <description>&lt;P&gt;Here's an example:&lt;/P&gt;
&lt;PRE class="brush:cpp; class-name:dark;"&gt;std::clock_t start = std::clock();

// do some work

std::clock_t finish = std::clock();

std::double_t time_span = finish - start;

std::cout &amp;lt;&amp;lt; "Execution time: " &amp;lt;&amp;lt; time_span &amp;lt;&amp;lt; "\n";&lt;/PRE&gt;

&lt;P&gt;Good luck.&lt;/P&gt;</description>
      <pubDate>Sun, 05 Apr 2020 09:56:07 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/how-to-get-the-wall-time-of-special-code-line/m-p/1131024#M7692</guid>
      <dc:creator>ArthurRatz</dc:creator>
      <dc:date>2020-04-05T09:56:07Z</dc:date>
    </item>
    <item>
      <title>Re: how to get the wall time of special code line?</title>
      <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/how-to-get-the-wall-time-of-special-code-line/m-p/1214088#M8153</link>
      <description>&lt;P&gt;At least you may use a partially ordered RDTSCP instruction.&lt;/P&gt;
&lt;P&gt;Be aware, that assembly implementation may run in the "shadow" of RDTSCP instruction (i.e. execute faster (in terms of pipeline stage of execution, than RDTSCP instruction)&lt;/P&gt;</description>
      <pubDate>Thu, 01 Oct 2020 15:12:28 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/how-to-get-the-wall-time-of-special-code-line/m-p/1214088#M8153</guid>
      <dc:creator>Bernard</dc:creator>
      <dc:date>2020-10-01T15:12:28Z</dc:date>
    </item>
  </channel>
</rss>

