I've updated the webrev @ http://cr.opensolaris.org/~rafaelv/ptop-freq/
I'll file a separate CR to change the DTrace script in cpufreq.c, we have other issues I think are more important at this time. This latest webrev is against PowerTOP's gate, not ON. I've added a check to make sure we're deducting the accounted time for the correct p-state. Let me know what you think. Rafael
