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

Richard Sargent richard.sargent at gemtalksystems.com
Mon May 5 12:27:59 PDT 2014


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.
"



--
View this message in context: http://forum.world.st/Glass-No-way-to-get-a-Monitor-Profiler-from-a-pro-file-tp4757954p4757989.html
Sent from the GLASS mailing list archive at Nabble.com.


More information about the Glass mailing list