JakeRoggenbuck / auto-clock-speed

A utility to check stats about your CPU, and auto regulate clock speeds to help with either performance or battery life.
https://autoclockspeed.org
MIT License
37 stars 9 forks source link

Refactor /proc/stat/ io into its own crate #494

Closed Camerooooon closed 1 year ago

Camerooooon commented 1 year ago

Logic for calculating CPU usage via /proc/stat should be moved out of the system.rs file.