click_gettimeofday

simonafichera at tiscali.it simonafichera at tiscali.it
Wed Nov 6 16:55:03 EST 2002



>simonafichera at tiscali.it wrote:
>> Hi, 
>> I've realized a click element.
>> It use the function "click_gettimeofday".
>> I'd like to know how "click_gettimeofday" is accurately.
>> Infact, this fuction return a timeval struct with tv_sec and tv_usec.
How
>> much tv_usec is real?
>> It is very important for my project and my measure.
>> I hope that someone can help me,
>> thanks Simona.
>> 
>> 
>you can look for the implementation of this function in 
>clickdir/include/click/glue.hh
>
>at userlevel it's just gettimeofday()
>
>d
>
>-- 
>Douglas S. J. De Couto    decouto at lcs.mit.edu
>
hi,
I've looked  the implementation of the function , but
my question is : 
if I use  

gettimeofday(x);
....
gettimeofday(y);

Is the difference beetwen x and y correct with a precision of microseconds?

thanks Simona




__________________________________________________________________
Tiscali ADSL. Scopri la fantastica promozione di Natale: tutto Gratis fino
al 9 gennaio!
Abbonati ora: prima ti abboni, più risparmi!
http://point.tiscali.it/adsl/index.shtml






More information about the click mailing list