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
> 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 quickly as
> possible. Any help would be greatly appreciated.
>
> Thanks,
> Assem Salama
>
>
>
> _______________________________________________
> Redhat-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-list
>

-- 
-Statux



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to