diff options
author | Brad King <brad.king@kitware.com> | 2022-11-06 13:33:10 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2022-11-06 13:33:10 (GMT) |
commit | 0d35f598d9841a944e030c0b9a5e6439ca0f8674 (patch) | |
tree | 7d8e4af2b8dd97c619839ecfccc601c4f137caaf /Source/kwsys/SystemInformation.cxx | |
parent | b46f582bc399211dc0b4dbda8d2b57d8d1cd59a8 (diff) | |
parent | ee9c09548cf4fa8c7edf0eb53494367fc17c859a (diff) | |
download | CMake-0d35f598d9841a944e030c0b9a5e6439ca0f8674.zip CMake-0d35f598d9841a944e030c0b9a5e6439ca0f8674.tar.gz CMake-0d35f598d9841a944e030c0b9a5e6439ca0f8674.tar.bz2 |
Merge branch 'upstream-KWSys' into update-kwsys
# By KWSys Upstream
* upstream-KWSys:
KWSys 2022-11-06 (9aebb97f)
Diffstat (limited to 'Source/kwsys/SystemInformation.cxx')
-rw-r--r-- | Source/kwsys/SystemInformation.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/kwsys/SystemInformation.cxx b/Source/kwsys/SystemInformation.cxx index e6cc48f..20e2edb 100644 --- a/Source/kwsys/SystemInformation.cxx +++ b/Source/kwsys/SystemInformation.cxx @@ -482,7 +482,7 @@ protected: unsigned int); // For windows // For Linux and Cygwin, /proc/cpuinfo formats are slightly different - bool RetreiveInformationFromCpuInfoFile(); + bool RetrieveInformationFromCpuInfoFile(); std::string ExtractValueFromCpuInfoFile(std::string buffer, const char* word, size_t init = 0); @@ -1520,7 +1520,7 @@ void SystemInformationImplementation::RunCPUCheck() #elif defined(__hpux) this->QueryHPUXProcessor(); #elif defined(__linux) || defined(__CYGWIN__) - this->RetreiveInformationFromCpuInfoFile(); + this->RetrieveInformationFromCpuInfoFile(); #else this->QueryProcessor(); #endif @@ -3435,7 +3435,7 @@ std::string SystemInformationImplementation::ExtractValueFromCpuInfoFile( } /** Query for the cpu status */ -bool SystemInformationImplementation::RetreiveInformationFromCpuInfoFile() +bool SystemInformationImplementation::RetrieveInformationFromCpuInfoFile() { this->NumberOfLogicalCPU = 0; this->NumberOfPhysicalCPU = 0; |