Analyzers
Talk to fellow users of Intel Analyzer tools (Intel VTune™ Profiler, Intel Advisor)
4975 Discussions

About vTune(GUI) Config Analysis value

gray_heron
Beginner
1,710 Views

Hi

 

I want to run vTune(CUI) using vTune(GUI) settings.Is the contents of Configure Analysis of vTune(GUI) saved in a file?

 

Thanks

0 Kudos
1 Solution
JyothisV_Intel
Moderator
1,632 Views

Hi,

 

Good day to you.

 

The settings for any analysis whether it be pre-defined, or custom is present inside the result directory where the collection results were saved. (If you hover over the result folder created inside Intel VTune Profiler (GUI)'s left pane or right click on it, you can view/copy the result directory as shown in screenshot). There is a sub-directory called config inside the result directory. This contains a file with the name context_values.cfg which lists out all the configuration values of the analysis in XML format. (Refer screenshot)

 

Hope this helps. If this resolves your issue, make sure to accept this as a solution. This would help others with similar issues.

 

Thanks and Regards,

Jyothis V James

 

View solution in original post

0 Kudos
4 Replies
VaradJ_Intel
Moderator
1,679 Views

Hi,

 

Good day to you.

 

Thanks for posting in Intel Communities.

 

If you want to run vTune(CUI) using vTune(GUI) settings. You can follow the below step:

 

1. Configure the analysis with which you want to profile your application.

 

2. Click on the command line option (Highlighted in the screenshot below)

 

VaradJ_Intel_0-1668086645849.png

 

3. You will get the command line code for your analysis type (check the below screenshot)

 

VaradJ_Intel_1-1668086687125.png

 

 

4. You can run Vtune CLI using those commands

 

If this resolves your issue, make sure to accept this as a solution. This would help others with similar issues. 

 

Thank You!

 

0 Kudos
gray_heron
Beginner
1,660 Views

Hi,VaradJ-san

 

Thank you for your reply.

>3. You will get the command line code for your analysis type (check the below screenshot)

 

I understand what the command line is. For example, the following command line is displayed when performing custom analysis.
In which file are the settings (uarch-exploration-0) saved?

 

"C:\Program Files (x86)\Intel\oneAPI\vtune\latest\bin64\vtune" -collect uarch-exploration-0 --app-working-dir=/root/intel/vtune/samples/matrix -- /root/intel/vtune/samples/matrix/matrix

 

Thank You.

 

0 Kudos
JyothisV_Intel
Moderator
1,633 Views

Hi,

 

Good day to you.

 

The settings for any analysis whether it be pre-defined, or custom is present inside the result directory where the collection results were saved. (If you hover over the result folder created inside Intel VTune Profiler (GUI)'s left pane or right click on it, you can view/copy the result directory as shown in screenshot). There is a sub-directory called config inside the result directory. This contains a file with the name context_values.cfg which lists out all the configuration values of the analysis in XML format. (Refer screenshot)

 

Hope this helps. If this resolves your issue, make sure to accept this as a solution. This would help others with similar issues.

 

Thanks and Regards,

Jyothis V James

 

0 Kudos
JyothisV_Intel
Moderator
1,622 Views

Hi,


Thanks for accepting the solution.


Since your queries are resolved, we will no longer respond to this thread. If you require additional assistance from Intel, please start a new thread. Any further interaction in this thread will be considered community only.


Regards,

Jyothis V James


0 Kudos
Reply