FreeBSD/sys/kern/kern_pmc.c
/*
 * Return the count of CPUs in the `active' state in the system.
 */
Return the count of CPUs in the `active' state in the system.
Return the count of CPUs in the ` active ' state in the system .
int
pmc_cpu_max_active(void)
{
#ifdef	SMP
	return (mp_ncpus);
#else
	return (1);
#endif
}
int pmc_cpu_max_active ( void ) { #ifdef SMP return ( mp_ncpus ) ; #else return ( 1 ) ; #endif }
Return the count of CPUs in the `active' state in the system.
Return the count of CPUs in the ` active ' state in the system .
/*
	 * When support for CPU hot-plugging is added to the kernel,
	 * this function would change to return the current number
	 * of "active" CPUs.
	 */