diff --git a/SystemInformation.cxx b/SystemInformation.cxx index 5cd792f31a37ce66019a13f2aba418be56ce9641..6d66a1833c7a9ef6884b3c0cec1cdbdbb4b1832a 100644 --- a/SystemInformation.cxx +++ b/SystemInformation.cxx @@ -477,6 +477,7 @@ protected: //For AIX bool QueryAIXMemory(); + bool QueryProcessorBySysconf(); bool QueryProcessor(); // Evaluate the memory information. @@ -3013,7 +3014,7 @@ bool SystemInformationImplementation::RetreiveInformationFromCpuInfoFile() return true; } -bool SystemInformationImplementation::QueryProcessor() +bool SystemInformationImplementation::QueryProcessorBySysconf() { #if defined(_SC_NPROC_ONLN) && !defined(_SC_NPROCESSORS_ONLN) // IRIX names this slightly different @@ -3036,6 +3037,11 @@ bool SystemInformationImplementation::QueryProcessor() #endif } +bool SystemInformationImplementation::QueryProcessor() +{ + return this->QueryProcessorBySysconf(); +} + /** Get total system RAM in units of KiB. */