Osinfo.Resources.get_n_cpus – libosinfo-1.0 Reference Manual
get_n_cpus
Description:
public
int
get_n_cpus
()
Retrieves the number of CPUs.
Parameters:
this
an
Resources
instance
Returns:
the number of CPUs, or -1.
2022 vala-language.org