> 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
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
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