<?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 gcc doesn't share the debug in Analyzers</title>
    <link>https://community.intel.com/t5/Analyzers/Source-Code-Inspection-Strange-CPU-Time-Reporting/m-p/967426#M9206</link>
    <description>&lt;P&gt;gcc doesn't share the debug-info options of icc, but -fno-inline-functions (icc linux) was taken directly from gcc. &amp;nbsp;-Qip- is the ICL windows equivalent to disable in-lining.&lt;/P&gt;</description>
    <pubDate>Tue, 04 Feb 2014 23:56:36 GMT</pubDate>
    <dc:creator>TimP</dc:creator>
    <dc:date>2014-02-04T23:56:36Z</dc:date>
    <item>
      <title>Source Code Inspection, Strange CPU Time Reporting</title>
      <link>https://community.intel.com/t5/Analyzers/Source-Code-Inspection-Strange-CPU-Time-Reporting/m-p/967420#M9200</link>
      <description>&lt;P&gt;I'm using VTune Update 15 to profile the benchmark 401.Bzip2 from SPEC CPU 2006 benchmark suite, however I'm seeing a strange result when inspecting the source code to check which instructions are more time consuming. I really don't know how the result I'm seeing can be correct.&lt;/P&gt;

&lt;P&gt;The problem is:&lt;/P&gt;

&lt;P&gt;1) I use Advanced Hotspot Analysis to profile the code;&lt;/P&gt;

&lt;P&gt;2) I go to the "Top-down Tree" tab and expand the main function; Which I see that is running for ~86s and is calling to other functions: spec_compress and spec_uncompress; So I double-click on the main function to check its source code;&lt;/P&gt;

&lt;P&gt;3) Inspecting the source code of the main function I note that VTune claims that the line "spec_fd[1].limit=compressed_size*MB;" is executing for ~86s... the total execution time of the benchmark; I also note that in the lines corresponding to the invocations of the functions spec_compress/uncompress the Cpu time is shown as zero.&lt;/P&gt;

&lt;P&gt;I've attached some screenshots. I would greatly appreciate any help on this!&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jan 2014 21:12:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Source-Code-Inspection-Strange-CPU-Time-Reporting/m-p/967420#M9200</guid>
      <dc:creator>Divino_C_</dc:creator>
      <dc:date>2014-01-24T21:12:00Z</dc:date>
    </item>
    <item>
      <title>Hi Divino:</title>
      <link>https://community.intel.com/t5/Analyzers/Source-Code-Inspection-Strange-CPU-Time-Reporting/m-p/967421#M9201</link>
      <description>&lt;P&gt;Hi Divino:&lt;/P&gt;

&lt;P&gt;Did you build with optimizations turned on? &amp;nbsp;Did you view the assembly code for the function in question (i.e., while in the source view)? &amp;nbsp;Optimization changes code layout (inlining, etc.) and I suggest viewing the assembly with the collected data (see Assembly button in upper left of source view).&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jan 2014 21:57:28 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Source-Code-Inspection-Strange-CPU-Time-Reporting/m-p/967421#M9201</guid>
      <dc:creator>David_A_Intel1</dc:creator>
      <dc:date>2014-01-24T21:57:28Z</dc:date>
    </item>
    <item>
      <title>Hello Mr. Anderson, how are</title>
      <link>https://community.intel.com/t5/Analyzers/Source-Code-Inspection-Strange-CPU-Time-Reporting/m-p/967422#M9202</link>
      <description>&lt;P&gt;Hello Mr. Anderson, how are you?&lt;/P&gt;

&lt;P&gt;Yes, I profiled an optimized code.. It seems that the optimization was exactly the source of the problem. Thanks for reminding me of this issue.&lt;/P&gt;

&lt;P&gt;So, if I want VTune to profile the code, my options are: 1) to profile the non-optimized code; 2) analyse the results using the assembly view?&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 25 Jan 2014 20:19:43 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Source-Code-Inspection-Strange-CPU-Time-Reporting/m-p/967422#M9202</guid>
      <dc:creator>Divino_C_</dc:creator>
      <dc:date>2014-01-25T20:19:43Z</dc:date>
    </item>
    <item>
      <title>Did you consider setting</title>
      <link>https://community.intel.com/t5/Analyzers/Source-Code-Inspection-Strange-CPU-Time-Reporting/m-p/967423#M9203</link>
      <description>&lt;P&gt;Did you consider setting -inline-debug-info or options like -no-ip or -fno-inline-functions?&lt;/P&gt;</description>
      <pubDate>Sat, 25 Jan 2014 20:25:36 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Source-Code-Inspection-Strange-CPU-Time-Reporting/m-p/967423#M9203</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2014-01-25T20:25:36Z</dc:date>
    </item>
    <item>
      <title>Actually I'm using GCC. What</title>
      <link>https://community.intel.com/t5/Analyzers/Source-Code-Inspection-Strange-CPU-Time-Reporting/m-p/967424#M9204</link>
      <description>&lt;P&gt;Actually I'm using GCC. What does the flag "-no-ip" disable?&lt;/P&gt;</description>
      <pubDate>Sat, 25 Jan 2014 23:31:30 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Source-Code-Inspection-Strange-CPU-Time-Reporting/m-p/967424#M9204</guid>
      <dc:creator>Divino_C_</dc:creator>
      <dc:date>2014-01-25T23:31:30Z</dc:date>
    </item>
    <item>
      <title>Hi,</title>
      <link>https://community.intel.com/t5/Analyzers/Source-Code-Inspection-Strange-CPU-Time-Reporting/m-p/967425#M9205</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;
	&lt;BR /&gt;
	I'm sorry to come back to this question again, but today I saw a some strange results again.&lt;/P&gt;

&lt;P&gt;This time I'm using intel compiler (version 13.1.3) with these flags: "-O3 -debug inline-debug-info -no-ip -fno-inline-functions&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;" and VTune is reporting that a call instruction in the source is being responsible for ~140s of the program execution (tot. execution time is ~350s)... this seems a little odd. Can you guys tell me what I'm doing wrong?&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;I've attached a screenshot of the result window.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Feb 2014 23:10:37 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Source-Code-Inspection-Strange-CPU-Time-Reporting/m-p/967425#M9205</guid>
      <dc:creator>Caesar</dc:creator>
      <dc:date>2014-02-04T23:10:37Z</dc:date>
    </item>
    <item>
      <title>gcc doesn't share the debug</title>
      <link>https://community.intel.com/t5/Analyzers/Source-Code-Inspection-Strange-CPU-Time-Reporting/m-p/967426#M9206</link>
      <description>&lt;P&gt;gcc doesn't share the debug-info options of icc, but -fno-inline-functions (icc linux) was taken directly from gcc. &amp;nbsp;-Qip- is the ICL windows equivalent to disable in-lining.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Feb 2014 23:56:36 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Source-Code-Inspection-Strange-CPU-Time-Reporting/m-p/967426#M9206</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2014-02-04T23:56:36Z</dc:date>
    </item>
    <item>
      <title>Thanks for clarifying that. I</title>
      <link>https://community.intel.com/t5/Analyzers/Source-Code-Inspection-Strange-CPU-Time-Reporting/m-p/967427#M9207</link>
      <description>&lt;P&gt;Thanks for clarifying that. I've changed my experiments to use ICC.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Feb 2014 00:03:46 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Source-Code-Inspection-Strange-CPU-Time-Reporting/m-p/967427#M9207</guid>
      <dc:creator>Caesar</dc:creator>
      <dc:date>2014-02-05T00:03:46Z</dc:date>
    </item>
    <item>
      <title>Usually when building a</title>
      <link>https://community.intel.com/t5/Analyzers/Source-Code-Inspection-Strange-CPU-Time-Reporting/m-p/967428#M9208</link>
      <description>&lt;P&gt;Usually when building a benchmark do it without the optimization.The simplest example is looped N times call to library sin() function with the argument being constant value.In such a case optimizing compliler can evaluate at compile time the library call and calculate the value ahead of runtime thus eliminating the need to even execute that loop N times.&lt;/P&gt;</description>
      <pubDate>Fri, 07 Feb 2014 08:16:04 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Source-Code-Inspection-Strange-CPU-Time-Reporting/m-p/967428#M9208</guid>
      <dc:creator>Bernard</dc:creator>
      <dc:date>2014-02-07T08:16:04Z</dc:date>
    </item>
  </channel>
</rss>

