Re: How to document dimension units for virtual files?

From: Kyle Moffett
Date: Fri Nov 10 2006 - 08:19:27 EST


On Nov 09, 2006, at 18:15:33, Pavel Machek wrote:
Anyway, Greg's opinion was that we should just document units in documentation and not pollute names with that. I'm not sure if it works for battery (because of current:mA vs. current:mW confusion).

Well, IMO you should never have "current:mW" in any form whatsoever anyways. Electrically it makes no sense; it's like saying "height:grams". Watts are an indication of power emitted or consumed per unit time (as opposed to current/amperage which counts only the number of electrons and not the change in energy), so perhaps "power_flow:mW" or "power_consumption:mW" would make more sense?

I can conceivably see a need for a "current:mJ_per_s" versus "current:mW" depending on the hardware-reported units, but never both at the same time.

Cheers,
Kyle Moffett

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/