http://code.google.com/p/pharo/issues/detail?id=2463 \ On May 21, 2010, at 11:09 PM, Mariano Martinez Peck wrote:
Hi folks. I saw this method in Squeak and seems interesting to include in Pharo too. What do you think ?
Cheers
Mariano
---------- Forwarded message ---------- From: Michael van der Gulik <mikevdg@gmail.com> Date: Mon, Sep 28, 2009 at 2:58 AM Subject: Re: [squeak-dev] The Inbox: Kernel-ul.251.mcz To: squeak-dev@lists.squeakfoundation.org
On Mon, Sep 28, 2009 at 1:38 PM, <commits@source.squeak.org> wrote: Item was added: + ----- Method: BlockClosure>>timeToRunWithoutGC (in category 'evaluating') ----- + timeToRunWithoutGC + "Answer the number of milliseconds taken to execute this block without GC time." + + ^(SmalltalkImage current vmParameterAt: 8) + + (SmalltalkImage current vmParameterAt: 10) + + self timeToRun - + (SmalltalkImage current vmParameterAt: 8) - + (SmalltalkImage current vmParameterAt: 10) + !
Could this method be put somewhere other than in Kernel, say for example in a separate profiling package?
Gulik.
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project