towards an accurate delay....
Marcel Weiher
marcel at metaobject.com
Tue Mar 12 00:34:27 UTC 2002
On Monday, March 11, 2002, at 10:29 AM, John M McIntosh wrote:
> Now actually I've my fingers on some of the decisions in here because
> the
> switch from 68K to powerpc lead to some issues. Many years ago I noted
> that if we called this routine say 2000 times a second, the overhead of
> checking for the clock added a good 4-5% to execution of squeak. A bad
> thing.
There seem to be some Mach functions for memory mapping a clock into
your address space. I haven't tried it yet, but this could be an
ultra-cheap + accurate clock.
Marcel
--
Marcel Weiher Metaobject Software Technologies
marcel at metaobject.com www.metaobject.com
Metaprogramming for the Graphic Arts. HOM, IDEAs, MetaAd etc.
More information about the Squeak-dev
mailing list
|