- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
My goal is to generate CPU utilization timeline data from the command line in Vtune. Is there any way to do it?
I can collect Vtune data for hotspots using the following command:
`vtune -collect hotspots -result-dir r000hs program`
Using GUI, I can see the CPU utilization timeline as shown in the picture below:
However, I want to plot the data with high resolution and merge it with some other data to put it in a PDF. Can this data be generated from the command line?
I found a few commands to do it, but none generated this timeline data. For example,
`vtune -report hotspots -r r000hs -report-output output`
only generates the functions with overall runtime.
- Tags:
- VTune
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thank you for posting in Intel Communities.
The CPU utilization timeline data can be obtained using below command after running the analysis:
$ vtune -report timeline -r <result_dir_name> -report-knob column-by=CPUTime
Also, the number of bins for the above command can be changed using the below report-knob:
[...] -report-knob bin-count=xx
Eg:
$ vtune -report timeline -r r000hs -report-knob column-by=CPUTime -report-knob bin-count=20
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.
Regards,
Sreedevi
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thank you for posting in Intel Communities.
The CPU utilization timeline data can be obtained using below command after running the analysis:
$ vtune -report timeline -r <result_dir_name> -report-knob column-by=CPUTime
Also, the number of bins for the above command can be changed using the below report-knob:
[...] -report-knob bin-count=xx
Eg:
$ vtune -report timeline -r r000hs -report-knob column-by=CPUTime -report-knob bin-count=20
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.
Regards,
Sreedevi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thanks for accepting our solution.
If you need any additional information, please post a new question as Intel will no longer monitor this thread.
Regards,
Sreedevi

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page