[squeak-dev] The Inbox: Kernel-ul.251.mcz

Michael van der Gulik mikevdg at gmail.com
Mon Sep 28 00:58:19 UTC 2009


On Mon, Sep 28, 2009 at 1:38 PM, <commits at 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.



-- 
http://gulik.pbwiki.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20090928/01794e83/attachment.htm


More information about the Squeak-dev mailing list