list_cpus() could throw an error if there is an IO error when fetching non-essential information about the CPU. This PR tries to handle those errors and work around them whenever possible so auto clock speed isn't rendered useless.
Modify list_cpus() to return a result and adjust the functions which depend on them to return result.
list_cpus()
could throw an error if there is an IO error when fetching non-essential information about the CPU. This PR tries to handle those errors and work around them whenever possible so auto clock speed isn't rendered useless.list_cpus()
to return a result and adjust the functions which depend on them to return result.list_cpus()