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.