- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
I am trying to use vtune on an application compile with mwing.
when run in cmd.exe it's OK, when running in vtune, vtune abort the application with no error messages !
what can I do ?
when run in cmd.exe it's OK, when running in vtune, vtune abort the application with no error messages !
what can I do ?
Lien copié
4 Réponses
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
Do you mean mingw32? VTune isn't designed to work with Windows gcc/g++. I did once try running it against a cygwin built application; it was able to view asm for some distance from the start of several functions. You must build everything with -g, and preferably static link against Microsoft debug libraries.
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
Actually, there is a topic in the online help titled "GNU* C/C++ Compiler for the Microsoft* Windows* Operating System." The analyzer will support binaries built with that compiler.
You probably have some other issue causing the problem. Are you trying to us sampling or call graph?
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
well, I successfully use vtune in a sample app compile with mwing32 (msys), but my real app seems to broke vtune !
I have compile my app with -g, I did'nt use callgraph.
thanks
I have compile my app with -g, I did'nt use callgraph.
thanks
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
Ah... The default configuration for sampling sets a "duration" of 20 seconds. When the activity reaches this duration, the activity is stopped and any application that the VTune analyzer launched is terminated. You can change the analyzer's behavior in two ways:
- set the duration to zero (0 = forever) or to a sufficiently long value.
- after creating the activity, modify it (right-click in Tuning Browser and select Modify Activity...) and Configure the sampling collector and uncheck the Terminate application when Activity ends check box on the General tab.

Répondre
Options du sujet
- S'abonner au fil RSS
- Marquer le sujet comme nouveau
- Marquer le sujet comme lu
- Placer ce Sujet en tête de liste pour l'utilisateur actuel
- Marquer
- S'abonner
- Page imprimable