mirror of
https://github.com/NotAShelf/microfetch.git
synced 2026-06-17 09:26:53 +00:00
cpu: add CPU info with model name, core/thread counts, and P/E detection
This commit is contained in:
parent
3f900f1c40
commit
e434985d00
3 changed files with 361 additions and 1 deletions
|
|
@ -149,7 +149,7 @@ fn round_f64(x: f64) -> f64 {
|
|||
}
|
||||
|
||||
/// Write a u64 to string
|
||||
fn write_u64(s: &mut String, mut n: u64) {
|
||||
pub fn write_u64(s: &mut String, mut n: u64) {
|
||||
if n == 0 {
|
||||
s.push('0');
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue