[Glass] No way to get a Monitor Profiler from a .pro file?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[Glass] No way to get a Monitor Profiler from a .pro file?

Mariano Martinez Peck
Hi guys,

I have run some profiling and I have some .pro files written in /tmp. I cannot seem to find a way to get a new ProfMonitor instance and inspect results (like #reportDownTo:) from an already stored .pro file.

Is this possible? how?


_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass
Reply | Threaded
Open this post in threaded view
|

Re: [Glass] No way to get a Monitor Profiler from a .pro file?

Richard Sargent
Administrator
Mariano Martinez Peck wrote
I have run some profiling and I have some .pro files written in /tmp. I
cannot seem to find a way to get a new ProfMonitor instance and inspect
results (like #reportDownTo:) from an already stored .pro file.
Hi Mariano,

It is not a supported function. However, it should be possible. Our developer who is most familiar with the profiler suggests:

"If Mariano wants to "reuse" a temp file, he should check out the code in the following methods in class ProfMonitor and perhaps develop variants as appropriate:

gatherResults -- scans through the temp file to generate the smalltalk structures, which calls:
_readSampleFile -- handles the details of reading the sample file, which calls:
_openFileRead -- which opens the temporary file -- he look into modifying this to pick a different one.
"