In message: <[EMAIL PROTECTED]>I agree with you. Except that ptr->value is tcpcb->t_starttime which is being set in the kernel...
Jan Knepper <[EMAIL PROTECTED]> writes:
: How would they return me the 'value' of 'ticks'?
: : The problem is... I have a value's somewhere that has been assigned from : 'ticks', like:
: ptr -> value = ticks;
: : at an other moment I need to do something like...
: : age = boottime + ( ticks - ptr -> value ) / factor;
: : The problem in the second case however is that I can not seem to get to : 'ticks' as it is userland code...
ptr->value should be set with getmicrotime() or microtime(). You can then do a gettimeofday in userland to figure out the age.
For the rest, see my other email that I forgot (but now did) sent to the group.
Thanks for the help though. Jan
To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message