summaryrefslogtreecommitdiff
path: root/indra/newview/llviewerstats.cpp
diff options
context:
space:
mode:
authorBrad Payne (Vir Linden) <vir@lindenlab.com>2022-12-09 15:02:26 +0000
committerBrad Payne (Vir Linden) <vir@lindenlab.com>2022-12-09 15:02:26 +0000
commit4a554bfded4b916576054ffb19963a8a52dc719d (patch)
treec86d6dc30ad87373a72bb233ac18187290f21cd5 /indra/newview/llviewerstats.cpp
parentf3f3c493ec2a658cf5c1aac6670c54c550e944fd (diff)
SL-18824 - added hardare_concurrency to system stats
Diffstat (limited to 'indra/newview/llviewerstats.cpp')
-rw-r--r--indra/newview/llviewerstats.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/newview/llviewerstats.cpp b/indra/newview/llviewerstats.cpp
index a4fbbb3e78..df3db9bb1d 100644
--- a/indra/newview/llviewerstats.cpp
+++ b/indra/newview/llviewerstats.cpp
@@ -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",