On Mon, 31 Mar 2008 14:01:35 -0700, Darrick J. Wong wrote:OK. Another question that comes to my mind now is the unit... Do the chips express the value in Joules internally? I would have expected Watt-hours. Of course we can convert as needed, but if all known chips use the same unit then I think we should that unit too, to minimize the required conversions. It really depends on what the chips report. Typically the drivers should report the values from the chip without too much tinkering (other than conversion to standard units). If some chips can report both "instantaneous" and "average" power uses, it makes sense to have both sets of filenames in the standard interface. If not then I am fine getting rid of one set. I don't think there is any precedent yet. I suggested this for unambiguity rather than consistency. Oh well, I guess that anything shorter than 1 ms can be considered "instantaneous power use", so we can go with millisecond. Out of curiosity, what are the values supported by the ibmaem chip? -- Jean Delvare --
| Artem Bityutskiy | [PATCH 10/44 take 2] [UBI] debug unit implementation |
| Greg Kroah-Hartman | [PATCH 004/196] Chinese: add translation of SubmittingPatches |
| Trent Piepho | [PATCH] [POWERPC] Improve (in|out)_beXX() asm code |
| Dave Young | Re: Linux v2.6.24-rc1 |
git: | |
| Gerrit Renker | [PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side) |
| Linus Torvalds | Re: [GIT]: Networking |
| David Miller | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Natalie Protasevich | [BUG] New Kernel Bugs |
