SL-18824 - added hardare_concurrency to system stats

master
Brad Payne (Vir Linden) 2022-12-09 15:02:26 +00:00
parent f3f3c493ec
commit 4a554bfded
1 changed files with 1 additions and 0 deletions

View File

@ -509,6 +509,7 @@ void send_viewer_stats(bool include_preferences)
system["cpu_sse"] = gSysCPU.getSSEVersions();
system["address_size"] = ADDRESS_SIZE;
system["os_bitness"] = LLOSInfo::instance().getOSBitness();
system["hardware_concurrency"] = (LLSD::Integer) std::thread::hardware_concurrency();
unsigned char MACAddress[MAC_ADDRESS_BYTES];
LLUUID::getNodeID(MACAddress);
std::string macAddressString = llformat("%02x-%02x-%02x-%02x-%02x-%02x",