Very strange measurements

Eddie Kohler kohler at aciri.org
Fri Jul 6 01:45:56 EDT 2001


Hi kids,

I've checked in new cpSecondsAsMilli and cpSecondsAsMicro types.

Either of these types accepts seconds/millisec/microsec/nanosec suffixes,
so "1", "1 s", "1sec", "1000 ms", "1000000000nsec", "1e6 us", and ".1e+1 s"
all mean the same thing.

Parsing "1 sec" as "cpSecondsAsMilli" produces the number 1000.
With "cpSecondsAsMicro", that is 1000000.

DelayUnqueue and DelayShaper use cpSecondsAsMicro. So change that
configuration string "1" into "1 us".

love,
ed



More information about the click mailing list