Hi,
How do I go about using the 11.6 profiler viewer with a profile output generated from my application using -profile.
I can't see how to load the profile information into it.
Thanks
Paul
Hi,
Copy the ‘.prof’ (officially supported from PDS OE) or ‘.out’ files to PDS OE project. From the project explorer, right click on those files and select ‘Open With’-> ‘Other’ . From the ‘Editor Selection’ dialog, search for ‘Profiler Viewer’ and select it. Your profiled data will be shown in a nice format inside the PDS OE profiler viewer.
Thanks,
Rama
Hi,
Copy the ‘.prof’ (officially supported from PDS OE) or ‘.out’ files to PDS OE project. From the project explorer, right click on those files and select ‘Open With’-> ‘Other’ . From the ‘Editor Selection’ dialog, search for ‘Profiler Viewer’ and select it. Your profiled data will be shown in a nice format inside the PDS OE profiler viewer.
Thanks,
Rama
Brilliant thanks for that.
Is there any documentation for the -profile option? I cannot seem to locate it in the help.
This looks like a starting point:
Yes, it's a start.
You can use the -profile startup parameter if you want to profile the entire client session as it runs.
Create a data file used by the profiler called “profiler.ctl”.
Within that you can set the options needed.
-DESCRIPTION “Profiler”
-LISTINGS C:\temp\profiler\
-FILENAME C:\temp\profiler\prof.out
prowin32.exe –p profiletest.p –profile profiler.ctl
I found that on a KB article somewhere ages ago. Always struggled to find decent documentation on the profiler.
> Always struggled to find decent documentation on the profiler.
"You can probably make the case now that since there’s support for viewing profile stuff in PDSOE that it should be formally documented."
Well, I thought that was the case now. I guess that explains why I couldn't find it. :)
There's already an idea raised for it :)
community.progress.com/.../add_documentation_for_profiler_handle
Hi,
I tried to open an out-file - generated by my application with the -profiler-handle - in the 'Profile Viewer' in PDS 11.7 but I just get an empty profiler view with no data in it?
What can be the reason for that?
is there some logging when opening a out-file (or prof-file) that I can look at?
Regards
Didier
@DanDuze 11.7.2 and 11.7.3 fixed a few bugs in the viewer that could cause this problem
We are on PDS 4.5.2 and OE 11.7.1 so that can be the reason.
Thanks for that info
Hi Didier,
The reason for an empty profiler view might be because of the incomplete data in the .out file. Can you please share the .out file with us? so that we can give a try.
Thanks,
Ramadevi
Hi Ramadevi,
If you want to I can share it but I guess the file is complete because I can open it with the older profiler (profile.w), I only need to change the date in that case (switch DD and MM).
Also tried that is PDS but didn't solve my problem
[View:/cfs-file/__key/communityserver-discussions-components-files/19/ProfileSession_5F00_21664.out:320:240]
Hi Didier,
This is a bug. The out file is missing some data w.r.t PDS OE. One of the module present in the Line summary view is not present under modules section. Because of this it is not opened in PDS OE by throwing the following exception.
com.progress.openedge.pdt.profiler.SnapshotReadException: Module id 3037 not found in line summary section (section 2).
Thanks,
Ramadevi