On Tuesday 15 November 2011 21:54:28 m...@freebsd.org wrote:
> Is there some reason these functions aren't asking for a delay in
> terms of milli- or microseconds, and converting to hz internally?

There is no strong reason for this except, that when everything is computed in 
system ticks, there is no need for further conversion when interfacing to the 
pause(), cv_timedwait() etc. Integer division can be quite expensive on 
embedded systems, and there are now several ports of my USB stack to other 
platforms :-) where most of them don't have anything near GHz CPU's.

--HPS
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to