<?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 Intel VTune Profiler for time spent per function call in Analyzers</title>
    <link>https://community.intel.com/t5/Analyzers/Intel-VTune-Profiler-for-time-spent-per-function-call/m-p/1178279#M18425</link>
    <description>&lt;P&gt;Hi amazing support :-)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a question. Does Intel VTune profiler gives an option to see the &lt;STRONG&gt;time per call&lt;/STRONG&gt;....I mean &lt;STRONG&gt;time per function call&lt;/STRONG&gt;...&amp;nbsp;'&lt;STRONG&gt;time in sec&lt;/STRONG&gt;' spent in each function. Is there any option that can be used in the command window, that would help me know the time, in seconds, spent in each function in my C ++ application?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance !&lt;/P&gt;</description>
    <pubDate>Tue, 05 May 2020 16:12:16 GMT</pubDate>
    <dc:creator>Jutt__Bobby</dc:creator>
    <dc:date>2020-05-05T16:12:16Z</dc:date>
    <item>
      <title>Intel VTune Profiler for time spent per function call</title>
      <link>https://community.intel.com/t5/Analyzers/Intel-VTune-Profiler-for-time-spent-per-function-call/m-p/1178279#M18425</link>
      <description>&lt;P&gt;Hi amazing support :-)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a question. Does Intel VTune profiler gives an option to see the &lt;STRONG&gt;time per call&lt;/STRONG&gt;....I mean &lt;STRONG&gt;time per function call&lt;/STRONG&gt;...&amp;nbsp;'&lt;STRONG&gt;time in sec&lt;/STRONG&gt;' spent in each function. Is there any option that can be used in the command window, that would help me know the time, in seconds, spent in each function in my C ++ application?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance !&lt;/P&gt;</description>
      <pubDate>Tue, 05 May 2020 16:12:16 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Intel-VTune-Profiler-for-time-spent-per-function-call/m-p/1178279#M18425</guid>
      <dc:creator>Jutt__Bobby</dc:creator>
      <dc:date>2020-05-05T16:12:16Z</dc:date>
    </item>
    <item>
      <title>Hey Bobby,</title>
      <link>https://community.intel.com/t5/Analyzers/Intel-VTune-Profiler-for-time-spent-per-function-call/m-p/1178280#M18426</link>
      <description>&lt;P&gt;Hey Bobby,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can run vtune hotspot analysis for viewing time per function. Time per function can be seen in the bottom-up as well as caller callee pane of the vtune report generated.&amp;nbsp; You can find more information regarding running hotspot analysis in the below link.&lt;/P&gt;&lt;P&gt;&lt;A href="https://software.intel.com/en-us/vtune-help-running-basic-hotspots-analysis-from-the-command-line"&gt;https://software.intel.com/en-us/vtune-help-running-basic-hotspots-analysis-from-the-command-line&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After performing an analysis via the command line, you can&amp;nbsp;view command line results in the GUI&amp;nbsp;to get full benefits of VTune Profiler GUI tools, or you can view a report from the command line. A variety of report types, filtering and formatting options are available. Please visit the below link for more details on generating command line reports&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://software.intel.com/en-us/vtune-help-generating-command-line-reports"&gt;https://software.intel.com/en-us/vtune-help-generating-command-line-reports&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Arun Jose&lt;/P&gt;</description>
      <pubDate>Wed, 06 May 2020 07:01:44 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Intel-VTune-Profiler-for-time-spent-per-function-call/m-p/1178280#M18426</guid>
      <dc:creator>ArunJ_Intel</dc:creator>
      <dc:date>2020-05-06T07:01:44Z</dc:date>
    </item>
    <item>
      <title> </title>
      <link>https://community.intel.com/t5/Analyzers/Intel-VTune-Profiler-for-time-spent-per-function-call/m-p/1178281#M18427</link>
      <description>&lt;P&gt;Hi Arun,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the helping reply....Is it also possible to view time per function straight from the GUI? Or one has to use command line always?&lt;/P&gt;</description>
      <pubDate>Wed, 06 May 2020 07:08:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Intel-VTune-Profiler-for-time-spent-per-function-call/m-p/1178281#M18427</guid>
      <dc:creator>Jutt__Bobby</dc:creator>
      <dc:date>2020-05-06T07:08:00Z</dc:date>
    </item>
    <item>
      <title>Hey Bobby, </title>
      <link>https://community.intel.com/t5/Analyzers/Intel-VTune-Profiler-for-time-spent-per-function-call/m-p/1178282#M18428</link>
      <description>&lt;P&gt;Hey Bobby,&amp;nbsp;&lt;/P&gt;&lt;P&gt;It is possible to see the time per function from the GUI&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Arun Jose&lt;/P&gt;</description>
      <pubDate>Wed, 06 May 2020 07:11:10 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Intel-VTune-Profiler-for-time-spent-per-function-call/m-p/1178282#M18428</guid>
      <dc:creator>ArunJ_Intel</dc:creator>
      <dc:date>2020-05-06T07:11:10Z</dc:date>
    </item>
    <item>
      <title>Hi, Bobby.</title>
      <link>https://community.intel.com/t5/Analyzers/Intel-VTune-Profiler-for-time-spent-per-function-call/m-p/1178283#M18429</link>
      <description>&lt;P&gt;Hi, Bobby.&lt;/P&gt;&lt;P&gt;You could open bottom-up pane for hotspot analysis view, for example&lt;/P&gt;&lt;P&gt;&lt;A href="https://software.intel.com/en-us/vtune-help-window-bottom-up" target="_blank"&gt;https://software.intel.com/en-us/vtune-help-window-bottom-up&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" src="C:\Users\kuhanov\Desktop\bottom-up.png " /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="F021DC2F-96E9-48A3-B6D4-58BAEEFAD405-imageId=D263BC36-BA7C-48D5-B270-245A6E60C62A.png"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/10562i81380901D8D5F203/image-size/large?v=v2&amp;amp;px=999&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="F021DC2F-96E9-48A3-B6D4-58BAEEFAD405-imageId=D263BC36-BA7C-48D5-B270-245A6E60C62A.png" alt="F021DC2F-96E9-48A3-B6D4-58BAEEFAD405-imageId=D263BC36-BA7C-48D5-B270-245A6E60C62A.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 06 May 2020 09:49:57 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Intel-VTune-Profiler-for-time-spent-per-function-call/m-p/1178283#M18429</guid>
      <dc:creator>Kirill_U_Intel</dc:creator>
      <dc:date>2020-05-06T09:49:57Z</dc:date>
    </item>
    <item>
      <title>Hi Bobby,</title>
      <link>https://community.intel.com/t5/Analyzers/Intel-VTune-Profiler-for-time-spent-per-function-call/m-p/1178284#M18430</link>
      <description>&lt;P&gt;Hi Bobby,&lt;/P&gt;&lt;P&gt;Hope that answers your query . Could you please confirm if we could close this case.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Arun Jose&lt;/P&gt;</description>
      <pubDate>Fri, 08 May 2020 04:00:55 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Intel-VTune-Profiler-for-time-spent-per-function-call/m-p/1178284#M18430</guid>
      <dc:creator>ArunJ_Intel</dc:creator>
      <dc:date>2020-05-08T04:00:55Z</dc:date>
    </item>
    <item>
      <title>I am not sure if this answers</title>
      <link>https://community.intel.com/t5/Analyzers/Intel-VTune-Profiler-for-time-spent-per-function-call/m-p/1178285#M18431</link>
      <description>&lt;P&gt;I am not sure if this answers the original question....&lt;/P&gt;&lt;P&gt;VTune will certainly show an estimate of the total time spent executing a function, but I don't think that it tracks the number of times the function was called while the measurements were occurring. &amp;nbsp; Since VTune uses a "sampling" methodology, a particular function will be sampled 0, 1, or more times per function execution -- mostly depending on how long the function executes.&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you run the measurements for the duration of the program execution and happen to know how many times the function was called, then you can divide the estimated total time for the function from VTune by the number of executions that you think happened to get the average time per function invocation.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The Intel C compiler has an option "-finstrument-functions"&amp;nbsp;to generate "wrapper" calls at the entry and exit of each function. &amp;nbsp;These can be used to collect statistics on function calls, including timers or performance counters, and provide both the function address and the call site address so that you can build call trees. &amp;nbsp;This instrumentation disables function inlining, unless you instrument a function with a magical "__attribute__((__no_instrument_function__))" annotation. &amp;nbsp;In that case the function will be eligible for inlining, but inlined copies will not generate instrumentation calls.....&lt;/P&gt;</description>
      <pubDate>Fri, 08 May 2020 17:44:59 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Intel-VTune-Profiler-for-time-spent-per-function-call/m-p/1178285#M18431</guid>
      <dc:creator>McCalpinJohn</dc:creator>
      <dc:date>2020-05-08T17:44:59Z</dc:date>
    </item>
    <item>
      <title>Hi Bobby,</title>
      <link>https://community.intel.com/t5/Analyzers/Intel-VTune-Profiler-for-time-spent-per-function-call/m-p/1178286#M18432</link>
      <description>&lt;P&gt;Hi Bobby,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope that answers your query. Could you please confirm if we could close this case.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Arun Jose&lt;/P&gt;</description>
      <pubDate>Tue, 12 May 2020 03:46:40 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Intel-VTune-Profiler-for-time-spent-per-function-call/m-p/1178286#M18432</guid>
      <dc:creator>ArunJ_Intel</dc:creator>
      <dc:date>2020-05-12T03:46:40Z</dc:date>
    </item>
    <item>
      <title>Hi Bobby,</title>
      <link>https://community.intel.com/t5/Analyzers/Intel-VTune-Profiler-for-time-spent-per-function-call/m-p/1178287#M18433</link>
      <description>&lt;P&gt;Hi Bobby,&lt;/P&gt;&lt;P&gt;We are closing this case assuming the solution provided helps. Please feel free to raise a new thread in case of further issues.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Arun Jose&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 May 2020 05:18:37 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Intel-VTune-Profiler-for-time-spent-per-function-call/m-p/1178287#M18433</guid>
      <dc:creator>ArunJ_Intel</dc:creator>
      <dc:date>2020-05-18T05:18:37Z</dc:date>
    </item>
  </channel>
</rss>

