Squeak 3.2 UNIX
Lex Spoon
lex at cc.gatech.edu
Sat Apr 20 17:47:08 UTC 2002
cg at cdegroot.com (Cees de Groot) wrote:
> Lex Spoon <lex at cc.gatech.edu> said:
> >My Swiki image is doing something like 6k-10k gettimeofday's per
> >second, and still shows 0.0% CPU usage. I got this number by running
> >strace on the process for about 10 seconds and then doing "grep -c
> >geimeofday log". If there is a significant overhead from the
> >gettimeofday, then it depends on the configuration somehow. I'm not
> >seeing it on my machine.
> >
> Ok, I'll dig further. Still: calling 10k gettimeofdays/sec is sort of 'not
> neat', and I do feel that the ITIMER image is snappier (does that make
> sense?)
Yes, they are separate issues. It's possible this could noticably lower
response times, even though it doesn't save much CPU.
-Lex
More information about the Squeak-dev
mailing list
|