Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Extra libraries, Code snippets, applications etc. » OS Problems etc., Win32, POSIX, MacOS, FreeBSD, X11 etc » BSDs: Is there "int get_nprocs (void)"
Re: BSDs: Is there "int get_nprocs (void)" [message #10861 is a reply to message #10845] Wed, 01 August 2007 19:43 Go to previous messageGo to previous message
masu is currently offline  masu
Messages: 378
Registered: February 2006
Senior Member
It is not available in FreeBSD Sad .
Since version 6 there is a function

int pmc_ncpu(void);


as part of the Performance Monitoring Counters API.

One also needs to include pmc.h and link with -lpmc.

Matthias
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Package Problem with Ubuntu 7.04
Next Topic: Win_CE
Goto Forum:
  


Current Time: Sat Apr 27 09:08:35 CEST 2024

Total time taken to generate the page: 0.26546 seconds