<?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 Re: Is there any way to get CPU utilization timeline data in vtune using command line? in Analyzers</title>
    <link>https://community.intel.com/t5/Analyzers/Is-there-any-way-to-get-CPU-utilization-timeline-data-in-vtune/m-p/1527843#M23948</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for posting in Intel Communities.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The CPU utilization timeline data can be obtained using below command after running the analysis:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;$ vtune -report timeline -r &amp;lt;result_dir_name&amp;gt; -report-knob column-by=CPUTime&lt;/LI-CODE&gt;
&lt;P&gt;Also, the number of bins for the above command can be changed using the below report-knob:&lt;/P&gt;
&lt;P&gt;[...]&amp;nbsp;&lt;STRONG&gt;-report-knob bin-count=xx&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Eg:&lt;/P&gt;
&lt;LI-CODE lang="bash"&gt;$ vtune -report timeline -r r000hs -report-knob column-by=CPUTime -report-knob bin-count=20&lt;/LI-CODE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SreedeviK_Intel_0-1695752131002.png" style="width: 700px;"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/46174iAA9551507518E0EE/image-dimensions/700x266?v=v2&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" width="700" height="266" role="button" title="SreedeviK_Intel_0-1695752131002.png" alt="SreedeviK_Intel_0-1695752131002.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this resolves your issue, make sure to accept this as a solution. This would help others with a similar issue. Kindly let us know if you are still facing any issues.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Sreedevi&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 26 Sep 2023 18:16:15 GMT</pubDate>
    <dc:creator>SreedeviK_Intel</dc:creator>
    <dc:date>2023-09-26T18:16:15Z</dc:date>
    <item>
      <title>Is there any way to get CPU utilization timeline data in vtune using command line?</title>
      <link>https://community.intel.com/t5/Analyzers/Is-there-any-way-to-get-CPU-utilization-timeline-data-in-vtune/m-p/1526823#M23936</link>
      <description>&lt;DIV class=""&gt;&lt;P&gt;My goal is to generate CPU utilization timeline data from the command line in Vtune. Is there any way to do it?&lt;/P&gt;&lt;P&gt;I can collect Vtune data for hotspots using the following command:&lt;/P&gt;&lt;P&gt;`vtune -collect hotspots -result-dir r000hs program`&lt;/P&gt;&lt;P&gt;Using GUI, I can see the CPU utilization timeline as shown in the picture below:&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;IMG src="https://i.stack.imgur.com/YoA4p.png" border="0" /&gt;&lt;/P&gt;&lt;P&gt;However, I want to plot the data with high resolution and merge it with some other data to put it in a PDF.&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Can this data be generated from the command line?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I found a&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://www.nas.nasa.gov/hecc/support/kb/finding-hotspots-in-your-code-with-the-intel-vtune-command-line-interface_506.html" target="_blank" rel="nofollow noopener noreferrer"&gt;few commands&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;to do it, but none generated this timeline data. For example,&lt;/P&gt;&lt;P&gt;`vtune -report hotspots -r r000hs -report-output output`&lt;/P&gt;&lt;P&gt;only generates the functions with overall runtime.&lt;/P&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 22 Sep 2023 20:15:05 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Is-there-any-way-to-get-CPU-utilization-timeline-data-in-vtune/m-p/1526823#M23936</guid>
      <dc:creator>AB27</dc:creator>
      <dc:date>2023-09-22T20:15:05Z</dc:date>
    </item>
    <item>
      <title>Re: Is there any way to get CPU utilization timeline data in vtune using command line?</title>
      <link>https://community.intel.com/t5/Analyzers/Is-there-any-way-to-get-CPU-utilization-timeline-data-in-vtune/m-p/1527843#M23948</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for posting in Intel Communities.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The CPU utilization timeline data can be obtained using below command after running the analysis:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;$ vtune -report timeline -r &amp;lt;result_dir_name&amp;gt; -report-knob column-by=CPUTime&lt;/LI-CODE&gt;
&lt;P&gt;Also, the number of bins for the above command can be changed using the below report-knob:&lt;/P&gt;
&lt;P&gt;[...]&amp;nbsp;&lt;STRONG&gt;-report-knob bin-count=xx&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Eg:&lt;/P&gt;
&lt;LI-CODE lang="bash"&gt;$ vtune -report timeline -r r000hs -report-knob column-by=CPUTime -report-knob bin-count=20&lt;/LI-CODE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SreedeviK_Intel_0-1695752131002.png" style="width: 700px;"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/46174iAA9551507518E0EE/image-dimensions/700x266?v=v2&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" width="700" height="266" role="button" title="SreedeviK_Intel_0-1695752131002.png" alt="SreedeviK_Intel_0-1695752131002.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this resolves your issue, make sure to accept this as a solution. This would help others with a similar issue. Kindly let us know if you are still facing any issues.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Sreedevi&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Sep 2023 18:16:15 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Is-there-any-way-to-get-CPU-utilization-timeline-data-in-vtune/m-p/1527843#M23948</guid>
      <dc:creator>SreedeviK_Intel</dc:creator>
      <dc:date>2023-09-26T18:16:15Z</dc:date>
    </item>
    <item>
      <title>Re:Is there any way to get CPU utilization timeline data in vtune using command line?</title>
      <link>https://community.intel.com/t5/Analyzers/Is-there-any-way-to-get-CPU-utilization-timeline-data-in-vtune/m-p/1528421#M23955</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks for accepting our solution.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;If you need any additional information, please post a new question as Intel will no longer monitor this thread.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sreedevi&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 28 Sep 2023 09:58:18 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Is-there-any-way-to-get-CPU-utilization-timeline-data-in-vtune/m-p/1528421#M23955</guid>
      <dc:creator>SreedeviK_Intel</dc:creator>
      <dc:date>2023-09-28T09:58:18Z</dc:date>
    </item>
  </channel>
</rss>

