<?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 Ashwin, in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/IppGetCpuClocks-giving-unstable-values/m-p/1105018#M25268</link>
    <description>&lt;P&gt;Ashwin,&lt;/P&gt;

&lt;P&gt;ippGetCpuCLocks functions returns readings of RTC - real-time counter. It's is analog of wall clock.&lt;BR /&gt;
	It cannot be slower or faster, it just ticks)). The difference between two readings shows the amount of time spent between "before" and "after".&lt;BR /&gt;
	How fast you get from "before" to "after" depends on what Roman is writing about.&lt;/P&gt;</description>
    <pubDate>Wed, 27 Jan 2016 12:20:11 GMT</pubDate>
    <dc:creator>Sergey_K_Intel</dc:creator>
    <dc:date>2016-01-27T12:20:11Z</dc:date>
    <item>
      <title>IppGetCpuClocks giving unstable values.</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/IppGetCpuClocks-giving-unstable-values/m-p/1105016#M25266</link>
      <description>I tried
Ipp64u before,after;
int count;
for(count=0;count&amp;lt;10;count++)

{
        
        before=IppGetCpuClocks();

        after=IppGetCpuClocks();

        printf("Total no. of clocks used in between : %f",(double)(after-before));

}

though there is nothing in between before and after still the values I am getting is not stable it returns different values . Why is it so ?
I want to measure value of no. of clocks used for  xyz function using
        
        

        Ipp64u before,after;

        before=IppGetCpuClocks();

        xyz();

        after=IppGetCpuClocks();

        printf("Total no. of clocks used in between : %f",(double)(after-before));

So How to get it ?</description>
      <pubDate>Wed, 27 Jan 2016 10:26:55 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/IppGetCpuClocks-giving-unstable-values/m-p/1105016#M25266</guid>
      <dc:creator>Ashwin_S_</dc:creator>
      <dc:date>2016-01-27T10:26:55Z</dc:date>
    </item>
    <item>
      <title>Hi Ashwin,</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/IppGetCpuClocks-giving-unstable-values/m-p/1105017#M25267</link>
      <description>&lt;P&gt;Hi Ashwin,&lt;/P&gt;

&lt;P&gt;What operating system do you use? If MS Windows, Windows is not a Real Time Operating System. Every time a lot of threads work in your computer at the same time. And your CPU has no more than 8 cores (for Intel Core i7).&lt;BR /&gt;
	So, OS performs time quantization for all threads on your PC. As a result, time to complete operation will be slightly different in any case.&lt;BR /&gt;
	One of possible solutions is to repeat measure process many times, and get&amp;nbsp;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;&amp;nbsp;average.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;Best regards,&lt;BR /&gt;
	Roman&lt;/SPAN&gt;&lt;BR /&gt;
	&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jan 2016 11:24:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/IppGetCpuClocks-giving-unstable-values/m-p/1105017#M25267</guid>
      <dc:creator>Roman_T_</dc:creator>
      <dc:date>2016-01-27T11:24:00Z</dc:date>
    </item>
    <item>
      <title>Ashwin,</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/IppGetCpuClocks-giving-unstable-values/m-p/1105018#M25268</link>
      <description>&lt;P&gt;Ashwin,&lt;/P&gt;

&lt;P&gt;ippGetCpuCLocks functions returns readings of RTC - real-time counter. It's is analog of wall clock.&lt;BR /&gt;
	It cannot be slower or faster, it just ticks)). The difference between two readings shows the amount of time spent between "before" and "after".&lt;BR /&gt;
	How fast you get from "before" to "after" depends on what Roman is writing about.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jan 2016 12:20:11 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/IppGetCpuClocks-giving-unstable-values/m-p/1105018#M25268</guid>
      <dc:creator>Sergey_K_Intel</dc:creator>
      <dc:date>2016-01-27T12:20:11Z</dc:date>
    </item>
  </channel>
</rss>

