Analyzers
Support for Analyzers (Intel VTune™ Profiler, Intel Advisor, Intel Inspector)
Announcements
This community is designed for sharing of public information. Please do not share Intel or third-party confidential information here.

argv

sherif-fr
Beginner
149 Views

Hello,

How I can carry out an application on Vtune(windows)! knowing that I use Cygwin!And that the ordering of execution is not "program.exe" but "./program.exe file.txt" ?!

0 Kudos
1 Reply
TimP
Black Belt
149 Views
Assuming you mean that you are using a compiler built for cygwin, I think the best chance is to use a single source file for everything you want to profile, and include -g in the compile and link options. You would require either -mno-cygwin or to put a copy of cygwin1.dll (temporarily) where it will be found when running VTune. You have the options of putting the environment variables and command line in a .bat file, or using the command line option setting in VTune.
Reply