I am using sampling activity in VTune with .net profiling,I have launched my application and get the list of processes.but when i select exe of my process and click on "Display module" it is not giving me module of my application...so I am not able to analyze my code...Do I make any settings to get module of my application???
There are three buttons to be filled(PATH, Arguements & Application PATH), carefully fill this button space with PATH where module or exe is being created or exist; Arguement to be used to run the exe if any; and exe PATH.
Also, first try the sample DEMO application w.r.t Getting_Started Guide document, follow as directed.
Also, check if VTune is properly installed.
You have talked about 3 buttons to be filled(PATH,Argument,ApplicationPath)...will you please tell me exactly where i can find this buttons??1 thing I have to declare that I want to use sampling using .NET Profiling
You have told that there is no enough workarounds in code..But when i am going to launch an application it must be an .exe while my whole code logic is in .dll.So i have used to declare that dll in the area of "select module of interest".But then VTune is not allowing me to see the result. I mean, that analisys process is not started.So can i use some other way to analyse the code which is in dll or I must implement my code logic in .exe only.......
I think Peter is trying to suggest that there may not be enough work (not workarounds) to keep your code busy long enough to register in the sample collector. You mentioned selecting .NET collection. Do you also have your VTune analyzer project configured to launch your application under control of the sampler? Does your application execute to your satisfaction? Does your application complete and return control to VTune analyzer? Do you see information in the log pane indicating progress through this process? Under normal circumstances VTune analyzer should collect samples in event sampling mode from anything that happens to be running at the time, and a lack of samples generally means the contained code was not executed, or at least not executed enough to collecta sample.
You told about "may not enough work to keep my code busy...".so is there any minimum work limit that must be followed to analyze my code? yes, my application executes perfactly as per my requirement.and I can see progress of sampling in log pane.When sampling completed i get list of processes but when I select my application'exe and click on "display modules" button it is displaying all the modules from my system but in that module list i can't find my application module..so it may because of my aplication work is not enough??
I have tried a "for loop" as you told.I got modules list when i select my application from process list and click on "display module" button.
As I have seen in video of VTune It displays "My application.exe" in module list.When you double click on that.It will display Function list of my application.and when you double click on function It will display the address,line,source,CPU_CLK_UNHALTED etc...
But when I select My application.exe and click on "Display module".It is displaying modules list but in that list I can't find "My application.exe".other modules are displayed to me,When i double click on any module the function list is displayed when i double click on that i got the error that "Line number information is not valid in this module only disambly view will be available do you want to countinue?" when I click yes I got display of address,source(only machine language),panelty and warnings,click ticks etc....Will you please guide me how to proceed to get "My application.exe" in modules list so that I can get function of my application and analyze my function code as source (not machine langauge as source)
I have tried VTune_Csharp_Example.exe In that I found VTune_Csharp_Example.exe.jit in module list as the same way i am launching my application but I dont find my application in modules don't know why! Thanks for providing the link.But when i try to browse it , quad error occure.Any other way to send my test app to you..Or pls let me know I have to make any settings to analyze my .net application code?1 more thing I have to tell that when VTune_Csharp_example stopping and starting IIS service,It gives bad_loop(function name) is started while in my application i don't find such test (Function Name) is started.Is there some problem like IIS is not configuring my application or function??I again remind you that I find my application exe in process list but not in module list
I have gone through VTune_Csharp_Example.exe and I found that in that application you have used "console application".I have tried to use "Console application" it is giving me perfact analisys but in our company projects we have used "WPFBrowserApplication" project so i don't analyze my code so will you please let me know,Can we use VTune with "WPFBrowserApplication"??If yes,then how to proceed with "WPFBrowserApplication" to analyze the code??I am also sending my test application to firstname.lastname@example.org.
Yes,My application is using IIS and I have tried to use "ASP.NET" to profile(not executable)and I found all IIS services restarted.But still the same problem occure.Even I have mailed you a little test application of "WPFBrowserApplication" on the EmailID given by you.So please go through it and let me know whether any solution I can find to analyze the code using VTune Analyzer?
That is good experience for me to learn "WPFBrowseApplication" project in Microsoft* Visual Studio 2008 by using File->New->Project->Other Languages->Visual C#->Windows to create a "WPF Browser Application" project.
It seems that the result of .NET sampling data collection for ASP.NET can't display WpfBrowserApplication1.exe.jit module in module list. It could be a VTune bug that managed code haven't be interpreted well. However the user still can run .NET call graph profiling and find "Main" function in wpfbrowserapplication1.exe.jit in the result.
I attached video files - pleasereview to know what I say.
For WPFBrowserApplication -
We found that sampling .NET profiling for ASP.NET can't generate .jit module which should be in module list.
Also call graph .NET profiling for ASP.NET can do ".NET classes only" mode, but not for native code. That is whythe usercan see three methods only and just "Initialize component()" source view can be displayed.
This is a new feature request for VTune Performance Analyzer to support WPFBrowserApplication.