sched-ext / scx

sched_ext schedulers and tools
https://bit.ly/scx_slack
GNU General Public License v2.0
692 stars 48 forks source link

scx_utils: Add CPU freq transition latency #343

Closed hodgesds closed 4 weeks ago

hodgesds commented 4 weeks ago

This change adds the CPU frequency transition latency from the cpuinfo_transition_latency from sysfs. The value of this field is described cpufreq docs. On supported systems it returns the CPU frequency transition latency in nanoseconds. The goal of this change is so that in the future schedulers can use this data to make better frequency scaling decisions.