On 2022-05-15, Mark Kettenis wrote: > > From: "Ted Unangst" <t...@tedunangst.com> > > Date: Sat, 14 May 2022 20:23:39 -0400 > > > > The cpu hz sensor is more accurate and updates faster than than the value > > currently used for hw.cpuspeed. So return that value (scaled). > > > > This doesn't set cpuspeed directly because the acpi does that and it's hard > > to create a whole system of priority overrides. I think it's simpler and > > maybe even better to track every value, and then return the best one > > available. > > At this point, I don't want this. Right now, it is actually useful > that hw.cpuspeed represents the requested P-state whereas the sensors > give us the "effective" frequency the core is actually running at. > And that is useful for evaluating what is actually happening.
The man page should be updated then. HW_CPUSPEED (hw.cpuspeed) The current CPU frequency (in MHz).