next up previous contents index
Next: 14.3.6 smp_map_range: Request the Up: 14.3 API reference Previous: 14.3.4 smp_start_cpu: Starts a

14.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.



Utah Flux Research Group