26 lines
535 B
C
26 lines
535 B
C
// lasp_nprocs.h
|
|
//
|
|
// Author: J.A. de Jong - ASCEE
|
|
//
|
|
// Description: Implemententation of a function to determine the number
|
|
// of processors. Useful for spreading out computational load over multiple
|
|
// cores.
|
|
//////////////////////////////////////////////////////////////////////
|
|
#pragma once
|
|
#ifndef LASP_NPROCS_H
|
|
#define LASP_NPROCS_H
|
|
#include "lasp_types.h"
|
|
#ifdef __cplusplus
|
|
extern C {
|
|
#endif
|
|
|
|
/**
|
|
* @return The number of SMP processors
|
|
*/
|
|
us getNumberOfProcs();
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
#endif // LASP_NPROCS_H
|