Robert Osfield wrote:
I would very much appreciate testing of OpenThreads in light of these
new changes.  Testing will need to be done on all platforms, even non
Linux ones as I've add a OpenThreads::GetNumProcessors() function too.

Something I'm curious about -- do you want to know the number of "real" CPUs, or "virtual" CPUs? As in, do you want a HyperThreaded CPU to count as two CPUs or not? Under Windows, HT CPUs report themselves as two CPUs (logically) but for some operations you can't really count on them performing like two CPUs. I ended up writing some goofy code to detect both the number of "real" and "virtual" CPUs in a system, for this reason.

I think I could contribute this if you need it, as it's mostly just code examples from Intel (CPUCount.cpp), posted on the web.

Thanks in advance,
Robert.

--
Chris 'Xenon' Hanson aka Eric Hammil | http://www.3DNature.com/ eric at logrus
 "I set the wheels in motion, turn up all the machines, activate the programs,
  and run behind the scenes. I set the clouds in motion, turn up light and 
sound,
  activate the window, and watch the world go 'round." -Prime Mover, Rush.
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to