[Tinyos Core WG] Unit of time in TOS2

Martin Leopold leopold at diku.dk
Fri Oct 20 15:16:36 PDT 2006


On Fri, 2006-10-20 at 14:37 -0700, Cory Sharp wrote:
> This is specified in the TEP,  "Note that the precision names are
> expressed as either frequency or period, whichever is convenient." 

I missed that - ignore the comment.

> I'd like for us to keep our eye on the ball -- and that is to clear
> naming confusion.  As far as I know, no user has ever been confused as
> a result of period vs frequency naming differences.
>
> ...
> 
> Going too far down this road is where I start to switch from being
> indifferent on TMilbi to preferring the status quo of TMilli and
> T32khz.

Maybe I'm a bit pedantic when it comes to units, but I simply don't like
the way 1024 / 1000 are often confused. I was trying to convey the
beauty of not redefining milli/micro - not referring to any actual bug
reports. I can only offer myself as evidence - when I tried the 1.x
timers I gave up and wrote my own.

So to be precise I have 3 suggestions:
* Keep the names, update documentation
* Rename to TMilbi, TMicbi (using the new "WikiPedia" standard)
* Rename to TkibiHz, TmebiHz (using well know prefixes)

-- 
Regards Martin Leopold.
Dept. of Computer Science, University of Copenhagen
http://www.diku.dk/~leopold





More information about the Tinyos-2.0wg mailing list