diff --git a/SystemInformation.cxx b/SystemInformation.cxx index 9cb67d22e1ac8e87526e4cb6e97aa3796fa32232..ef7962618193a4656730dcb73f8910d7d6326949 100644 --- a/SystemInformation.cxx +++ b/SystemInformation.cxx @@ -4004,6 +4004,15 @@ bool SystemInformationImplementation::ParseSysCtl() len = sizeof(value); err = sysctlbyname("machdep.cpu.model", &value, &len, NULL, 0); this->ChipID.Model = static_cast< int >( value ); + + // Chip Stepping + len = sizeof(value); + value = 0; + err = sysctlbyname("machdep.cpu.stepping", &value, &len, NULL, 0); + if (!err) + { + this->ChipID.Revision = static_cast< int >( value ); + } } // brand string