mirror of
https://github.com/Kitware/CMake.git
synced 2026-08-12 22:17:06 +00:00
instrumentation: Add model name to static system info
Add this field for consistency with `cmake_host_system_information` options and data uploaded to CDash.
This commit is contained in:
@@ -520,6 +520,7 @@ generated whenever `Indexing`_ occurs and deleted after any user-specified
|
||||
* ``hostname``
|
||||
* ``is64Bits``
|
||||
* ``modelId``
|
||||
* ``modelName``
|
||||
* ``numberOfLogicalCPU``
|
||||
* ``numberOfPhysicalCPU``
|
||||
* ``processorAPICID``
|
||||
|
||||
@@ -475,6 +475,7 @@ void cmInstrumentation::InsertStaticSystemInformation(Json::Value& root)
|
||||
infoRoot["hostname"] = info.GetHostname();
|
||||
infoRoot["is64Bits"] = info.Is64Bits();
|
||||
infoRoot["modelId"] = info.GetModelID();
|
||||
infoRoot["modelName"] = info.GetModelName();
|
||||
infoRoot["numberOfLogicalCPU"] = info.GetNumberOfLogicalCPU();
|
||||
infoRoot["numberOfPhysicalCPU"] = info.GetNumberOfPhysicalCPU();
|
||||
infoRoot["OSName"] = info.GetOSName();
|
||||
|
||||
@@ -98,6 +98,7 @@ if (NOT hasStaticInfo STREQUAL UNEXPECTED)
|
||||
json_has_key("${index}" "${staticSystemInformation}" hostname ${hasStaticInfo})
|
||||
json_has_key("${index}" "${staticSystemInformation}" is64Bits ${hasStaticInfo})
|
||||
json_has_key("${index}" "${staticSystemInformation}" modelId ${hasStaticInfo})
|
||||
json_has_key("${index}" "${staticSystemInformation}" modelName ${hasStaticInfo})
|
||||
json_has_key("${index}" "${staticSystemInformation}" numberOfLogicalCPU ${hasStaticInfo})
|
||||
json_has_key("${index}" "${staticSystemInformation}" numberOfPhysicalCPU ${hasStaticInfo})
|
||||
json_has_key("${index}" "${staticSystemInformation}" processorAPICID ${hasStaticInfo})
|
||||
@@ -122,6 +123,7 @@ if (NOT hasStaticInfo STREQUAL UNEXPECTED)
|
||||
familyId
|
||||
hostname
|
||||
modelId
|
||||
modelName
|
||||
vendorID
|
||||
vendorString
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user