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 » Developing U++ » U++ Developers corner » Anybody knows how to get number of CPU cores?
Re: Anybody knows how to get number of CPU cores? [message #10834 is a reply to message #10832] Wed, 01 August 2007 11:54 Go to previous messageGo to previous message
unodgs is currently offline  unodgs
Messages: 1367
Registered: November 2005
Location: Poland
Ultimate Contributor

luzr wrote on Wed, 01 August 2007 04:54

In Win32, Win64 and Linux/POSIX...

I have seen examples how to find a part of the information on one of system, but I would need implemenation for all (or most) platforms we support....

Have you seen this: ?
http://www3.intel.com/cd/ids/developer/asmo-na/eng/275339.ht m?cid=sw:multicore005

There is a CPUCOUNT.CPP which seemms to be able to detect how many cores a cpu has (see int MaxCorePerPhysicalProc(void))
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: What improvements for Upp on Linux to comply with freedesktop?
Next Topic: The age of multicore has just started for U++....
Goto Forum:
  


Current Time: Sat Jun 21 22:09:31 CEST 2025

Total time taken to generate the page: 0.03841 seconds