On Wed, Feb 09, 2005 at 11:44:11AM -0800, David Brownell wrote:
> On Wednesday 09 February 2005 11:01 am, Nishanth Aravamudan wrote:
> >     HZ always meant, since the last parameter was
> > a jiffies-unit expression, the number of jiffies in a second ...
> > ... HZ just means 100, or 1000, or whatever value it has).
> 
> And anyone using HZ to do almost anything other than counting
> jiffies was justifiably raked over the coals ... for example,
> you'd not calculate bit rates in kbps by bits/HZ rather than
> doing bits/1000.  :)
> 
> I like the idea of moving to count time in more appropriate
> units, like milliseconds (for USB).  But time units aren't
> dimensionless ... HZ wasn't, but your patches shift from
> using explicitly dimensioned constants to dimensionless ones.

Ah, I agree, that is dangerous. Hmm, trying to find another way to avoid
using MSECS_IN_SECS :)

-Nish


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to