Re: gettimeofday

2001-05-01 Thread Tim Moore
> I'm noticing some weird stuff with gettimeofday. When I call this > function, it usually takes around 10 microseconds. But, sometimes it > takes a long time (somewhere around 30 milli seconds). Does anyone know > why it's taking so long? I need this function t

Re: gettimeofday

2001-04-28 Thread Statux
process scheduling? Do you have other processes trying to run when you're timing the function? A CPU can only do 1 thing at a time... literally :) On Wed, 25 Apr 2001, Assem Salama wrote: > Hi folks, > I'm noticing some weird stuff with gettimeofday. When I call this > f

gettimeofday

2001-04-28 Thread Assem Salama
Hi folks, I'm noticing some weird stuff with gettimeofday. When I call this function, it usually takes around 10 microseconds. But, sometimes it takes a long time (somewhere around 30 milli seconds). Does anyone know why it's taking so long? I need this function to return as