mirror of
https://github.com/NotAShelf/microfetch.git
synced 2026-04-27 10:55:20 +00:00
arch: add powerpc64 support
This commit is contained in:
parent
05fc3d8df9
commit
03e6d1f4cf
5 changed files with 280 additions and 11 deletions
|
|
@ -148,6 +148,7 @@ fn get_cpu_freq_mhz() -> Option<u32> {
|
|||
b"cpu MHz dynamic",
|
||||
b"cpu MHz static",
|
||||
b"CPU MHz",
|
||||
b"clock",
|
||||
] {
|
||||
if let Some(val) = extract_field(data, key) {
|
||||
// Parse integer part of the MHz value (e.g. "5200.00" -> 5200)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue