gettimeofday() revisited

Cees de Groot cg at cdegroot.com
Sat May 25 20:56:27 UTC 2002


Ian Piumarta <ian.piumarta at inria.fr> said:
>> system call in user-mode Linux is a context switch, and the result of
>> all the gettimeofdays() is that the processor runs hot
>
>In the meantime, a bag of ice cubes balanced on top of your processor
>might help.  (Tip-of-the-week: It's better if the bag doesn't leak.)
>
Thanks. But running the itimer-based version helped a lot better ;-) 

The only thing left to solve is why Squeak kept exiting on the UML box earlier
this week...

-- 
Cees de Groot               http://www.cdegroot.com     <cg at cdegroot.com>
GnuPG 1024D/E0989E8B 0016 F679 F38D 5946 4ECD  1986 F303 937F E098 9E8B



More information about the Squeak-dev mailing list