[Cmake-commits] [cmake-commits] hoffman committed SystemInformation.cxx 1.35 1.36
cmake-commits at cmake.org
cmake-commits at cmake.org
Thu Dec 4 10:51:14 EST 2008
Update of /cvsroot/CMake/CMake/Source/kwsys
In directory public:/mounts/ram/cvs-serv4540
Modified Files:
SystemInformation.cxx
Log Message:
BUG: fix cpu info string
Index: SystemInformation.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/kwsys/SystemInformation.cxx,v
retrieving revision 1.35
retrieving revision 1.36
diff -C 2 -d -r1.35 -r1.36
*** SystemInformation.cxx 17 Oct 2008 15:29:30 -0000 1.35
--- SystemInformation.cxx 4 Dec 2008 15:51:11 -0000 1.36
***************
*** 2898,2902 ****
{
// Parse values
! this->NumberOfPhysicalCPU = atoi(this->ParseValueFromKStat("-n systethis->misc -s ncpus").c_str());
this->NumberOfLogicalCPU = this->NumberOfPhysicalCPU;
--- 2898,2902 ----
{
// Parse values
! this->NumberOfPhysicalCPU = atoi(this->ParseValueFromKStat("-n syste_misc -s ncpus").c_str());
this->NumberOfLogicalCPU = this->NumberOfPhysicalCPU;
More information about the Cmake-commits
mailing list