[ENH] relinquishProcessorForMicroseconds:
John M McIntosh
johnmci at smalltalkconsulting.com
Tue May 7 16:15:32 UTC 2002
>John,
>
>> Now take this code
>>
>> |bag time delay |
>> delay _ Delay forMilliseconds: 1.
>> bag _ Bag new.
>> 1 to: 1000 do: [:i |
>> time _ Time millisecondClockValue.
>> delay wait.
>> bag add: (Time millisecondClockValue - time).
>> ].
>> bag sortedCounts.
>
>NetBSD ppc:
> a SortedCollection(950->20 19->19 19->21 3->18 3->22 2->30 1->25 1->8
>1->10 1->14)
>
>Linux 386:
> a SortedCollection(294->1 213->2 146->3 100->4 84->5 55->6 33->7 33->8
>11->10 9->11 8->9 6->13 5->12 1->14 1->17 1->18)
>
>Ian
Ok, I'm assuming these are after filing in the change set?
--
--
===========================================================================
John M. McIntosh <johnmci at smalltalkconsulting.com> 1-800-477-2659
Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com
===========================================================================
More information about the Squeak-dev
mailing list
|