lkml.org 
[lkml]   [2018]   [Jun]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC PATCH v3 04/10] PM / EM: Expose the Energy Model in sysfs
On Mon, May 21, 2018 at 03:24:59PM +0100, Quentin Perret wrote:
> This exposes the Energy Model (read-only) of all frequency domains in
> sysfs for convenience. To do so, a parent kobject is added to the CPU
> subsystem under the umbrella of which a kobject for each frequency
> domain is attached.
>
> The resulting hierarchy is as follows for a platform with two frequency
> domains for example:
>
> /sys/devices/system/cpu/energy_model
> ├── fd0
> │   ├── capacity
> │   ├── cpus
> │   ├── frequency
> │   └── power
> └── fd4
> ├── capacity
> ├── cpus
> ├── frequency
> └── power
>

Given that each FD can have multiple {freq,power} tuples and sysfs has a
one value per file policy, how does this work?

\
 
 \ /
  Last update: 2018-06-19 14:17    [W:0.267 / U:1.552 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site