6 lines
124 B
Rust
6 lines
124 B
Rust
fn main() {
|
|
|
|
println!("num of cpus: {}", num_cpus::get());
|
|
println!("num of cpus: {}", num_cpus::get_physical());
|
|
}
|