Preemptive scheduling
John M McIntosh
johnmci at smalltalkconsulting.com
Tue May 1 20:34:00 UTC 2007
>> But with an interpreter it would be possible to do the same things
>> an advanced OS does, let a process only run for a specific amount
>> of VM instructions, penilize processes that keep using their whole
>> "quantum", promote processes that don't, etc.
>
>
> If you want to do some sort of count of bytecodes or prim calls
> instead of a simple timer, that is not difficult to arrange. I
> think John put some timer/counter stuff in a few years ago that
> would support this.
Ah that would be
[ENH] CPU time for Processes.
Date: March 8, 2001 7:49:42 PM PST (CA)
I've stuck the CaptureProcessTimeJMM.6.cs on my idisk experimental
folder via http:/www.smalltalkconsulting.com/squeak.html as a clue
--
========================================================================
===
John M. McIntosh <johnmci at smalltalkconsulting.com>
Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com
========================================================================
===
More information about the Squeak-dev
mailing list
|