next up previous contents index
Next: 11.3.6 smp_map_range: Request the Up: 11.3 API reference Previous: 11.3.4 smp_start_cpu: Starts a

11.3.5 smp_get_num_cpus: Returns the total number of processors

 

SYNOPSIS

#include <oskit/smp.h>

int smp_get_num_cpus(void);

DESCRIPTION

This returns the number of processors that exist.

RETURNS

The number of processors that have been found. In a non-SMP-capable system, this will always return one.



University of Utah Flux Research Group