Li, Aubrey wrote: > On Saturday, October 27, 2007 8:01 AM, tesla-dev-bounces at opensolaris.org > wrote: > > >> The existing powertop implementation makes heavy use of /proc >> under Linux. >> For the necessary interfaces, here's what I'm thinking: >> >> - C-state information >> - Number of C-states, and amount of time system is spending in >> each one >> - Number of C-states can eventually be exported through a kstat. >> > > Where do you plan to add a kstat if there is no C-state driver? > My guess is that the code that eventually ends up enumerating c-states can make available a kstat, similar to what's currently done for P-states. It's probably not a show stopper for now though, since we don't support any other C-states besides C1 :)
-Eric
