- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am looking for some answers with respect to using the VTune Amplifier software tool. I would like to know how useful the tool is for detecting resource contentions on a PC if I do not have the source code for the application in question.
Thanks,
Eldon
Thanks,
Eldon
Link Copied
8 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Eldon,
VTune Amplifier XE can help you to detect resource contentions, for example:
1. You can know parallelism of your multi-threaded application, CPU usage.
2. You can know wait times/wait countsfor multi-threaded application
3. You can investigate What locks cause wait times highly
4. Use timeline report to know threading behaviors (active, inactive, CPU usage, threading transitions)
5. Use prededine analysis type - e.g. memory access, to know L2/LLC cache misses in modules, threads, functions.
You can find more useful features from online helper.
If you have source code of target application, it still works. However source view with performance data is not supported, function level view is supported.
Thanks, Peter
VTune Amplifier XE can help you to detect resource contentions, for example:
1. You can know parallelism of your multi-threaded application, CPU usage.
2. You can know wait times/wait countsfor multi-threaded application
3. You can investigate What locks cause wait times highly
4. Use timeline report to know threading behaviors (active, inactive, CPU usage, threading transitions)
5. Use prededine analysis type - e.g. memory access, to know L2/LLC cache misses in modules, threads, functions.
You can find more useful features from online helper.
If you have source code of target application, it still works. However source view with performance data is not supported, function level view is supported.
Thanks, Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Peter,
Thanks for responding.
My problem is that I havepart of anapplication that runs quickly when executed via one path but when it is executed via a different path, it runs almost 10 times slower. I do not have source code for this application but do have access to the developers. This slow down has just recently occurred and I need to narrow down why it is occuring. Will VTune help me find the differences in the two different paths of execution?
Thanks,
Eldon
Thanks for responding.
My problem is that I havepart of anapplication that runs quickly when executed via one path but when it is executed via a different path, it runs almost 10 times slower. I do not have source code for this application but do have access to the developers. This slow down has just recently occurred and I need to narrow down why it is occuring. Will VTune help me find the differences in the two different paths of execution?
Thanks,
Eldon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Eldon,
Yes, you can use VTune to investigate - I assume that you have executable with symbol files.
You can run hotspots analysis with application for different paths, twice. You can compare bottom-up reports inresults... to verify CPU time on hot functions. Thus, you canfind suspect function(s)then communicate withthe developers.
Since you have no source,it's impossibletoget CPU time consumed on each source line.
Regards, Peter
Yes, you can use VTune to investigate - I assume that you have executable with symbol files.
You can run hotspots analysis with application for different paths, twice. You can compare bottom-up reports inresults... to verify CPU time on hot functions. Thus, you canfind suspect function(s)then communicate withthe developers.
Since you have no source,it's impossibletoget CPU time consumed on each source line.
Regards, Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Peter,
I would not assume that I have an executable with debug symbols. I do know that the path I am having probelms with is a seperate thread that starts executing. Will I be able to identify this thread and watch what resources that it is using?
Thanks,
Eldon
I would not assume that I have an executable with debug symbols. I do know that the path I am having probelms with is a seperate thread that starts executing. Will I be able to identify this thread and watch what resources that it is using?
Thanks,
Eldon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If your application has no debug info or without symbol file, all hot functions in report will be displayed such as [xxx.exe] or [xxx.dll] - it doesn't help to narrow down the issue to function level.
So please ask developers to send you executable with debug info, or symbol files. It could be release build, with compiler option "/Zi" for Windows version, "-g" for Linux version, linker option "/DEBUG" for window version.
Regards, Peter
So please ask developers to send you executable with debug info, or symbol files. It could be release build, with compiler option "/Zi" for Windows version, "-g" for Linux version, linker option "/DEBUG" for window version.
Regards, Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Peter,
The program was developed using National Instruments LabView. Do you know if VTune is compatible with LabView?
The program was developed using National Instruments LabView. Do you know if VTune is compatible with LabView?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
VTune Amplifier XEshouldbe compatible with LabView, no special requirements for target application. C/C++, FORTRAN and C# language are supported, ordevelopers use libraries (e.g. LabView) built by these languages.
If there is no symboleinfo for 3rd-party libraries, hot functions cannotbedetected. You only can view CPU time consumedin all threads.
Regards, Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Peter,
Thanks for the information. I will most likely give it a try but it will be a couple of weeks before I get a chance. If I have any questions, I will start a new thread.
Thanks again,
Eldon
Thanks for the information. I will most likely give it a try but it will be a couple of weeks before I get a chance. If I have any questions, I will start a new thread.
Thanks again,
Eldon
![](/skins/images/45C6C2D737ED71F4C51F0145C8CB1E9C/responsive_peak/images/icon_anonymous_message.png)
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page