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

argv

sherif-fr
Beginner
512 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
Honored Contributor III
512 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.
0 Kudos
Reply