summaryrefslogtreecommitdiff
path: root/indra/llcommon/llstreamtools.cpp
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2024-09-16 17:25:48 -0400
committerNat Goodspeed <nat@lindenlab.com>2024-09-16 17:25:48 -0400
commitf4b65638879c10c832b3bb8448f82001106ffd11 (patch)
tree14dc47b0eaa34a58fd771667c1b2609d4a2f2b39 /indra/llcommon/llstreamtools.cpp
parent7e21a98931005fc0d44d23840c7e1815372613a7 (diff)
Add LLFloaterAbout info (esp. GPU info) to Frame Profile stats dump
With the About info added, `getProfileStatsContext()` need not redundantly add `"channel"`, `"version"` or `"region"`. Slightly improve the efficiency of `LlsdToJson()` and `LlsdFromJson()` by preallocating the known size of the source array or map. (Unfortunately the C++ `LLSD` class offers us no way to preallocate a map.) In `LLAppViewer::getViewerInfo()`, avoid immediate successive calls to `gAgent.getRegion()`.
Diffstat (limited to 'indra/llcommon/llstreamtools.cpp')
0 files changed, 0 insertions, 0 deletions