About
Contact
QtCreator
KDevelop
Solarized
1
extern
crate
num_cpus
;
2
3
fn
main
() {
4
println
!(
"Logical CPUs: {}"
, num_cpus::get());
5
println
!(
"Physical CPUs: {}"
, num_cpus::get_physical());
6
}
7