diff options
author | Jacek Antonelli | 2008-12-09 22:25:37 -0600 |
---|---|---|
committer | Jacek Antonelli | 2008-12-09 22:25:41 -0600 |
commit | 22b861982f2efd5d16097a012627e73b9fb85834 (patch) | |
tree | 6152a84b92c682e271bdd52d46cd1728454f679a /linden/indra/newview/llviewerstats.cpp | |
parent | Second Life viewer sources 1.22.1-RC (diff) | |
download | meta-impy-22b861982f2efd5d16097a012627e73b9fb85834.zip meta-impy-22b861982f2efd5d16097a012627e73b9fb85834.tar.gz meta-impy-22b861982f2efd5d16097a012627e73b9fb85834.tar.bz2 meta-impy-22b861982f2efd5d16097a012627e73b9fb85834.tar.xz |
Second Life viewer sources 1.22.2-RC
Diffstat (limited to 'linden/indra/newview/llviewerstats.cpp')
-rw-r--r-- | linden/indra/newview/llviewerstats.cpp | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/linden/indra/newview/llviewerstats.cpp b/linden/indra/newview/llviewerstats.cpp index 9034634..4010dc1 100644 --- a/linden/indra/newview/llviewerstats.cpp +++ b/linden/indra/newview/llviewerstats.cpp | |||
@@ -680,8 +680,7 @@ void send_stats() | |||
680 | // send fps only for time app spends in foreground | 680 | // send fps only for time app spends in foreground |
681 | agent["fps"] = (F32)gForegroundFrameCount / gForegroundTime.getElapsedTimeF32(); | 681 | agent["fps"] = (F32)gForegroundFrameCount / gForegroundTime.getElapsedTimeF32(); |
682 | agent["version"] = gCurrentVersion; | 682 | agent["version"] = gCurrentVersion; |
683 | std::string language(gSavedSettings.getString("Language")); | 683 | std::string language = LLUI::getLanguage(); |
684 | if(language == "default") language = gSavedSettings.getString("SystemLanguage"); | ||
685 | agent["language"] = language; | 684 | agent["language"] = language; |
686 | 685 | ||
687 | agent["sim_fps"] = ((F32) gFrameCount - gSimFrames) / | 686 | agent["sim_fps"] = ((F32) gFrameCount - gSimFrames) / |
@@ -760,8 +759,12 @@ void send_stats() | |||
760 | // misc["string_2"] = | 759 | // misc["string_2"] = |
761 | // misc["int_1"] = LLFloaterDirectory::sOldSearchCount; // Steve: 1.18.6 | 760 | // misc["int_1"] = LLFloaterDirectory::sOldSearchCount; // Steve: 1.18.6 |
762 | // misc["int_2"] = LLFloaterDirectory::sNewSearchCount; // Steve: 1.18.6 | 761 | // misc["int_2"] = LLFloaterDirectory::sNewSearchCount; // Steve: 1.18.6 |
763 | misc["int_1"] = LLSD::Integer(gSavedSettings.getU32("RenderQualityPerformance")); // Steve: 1.21 | 762 | // misc["int_1"] = LLSD::Integer(gSavedSettings.getU32("RenderQualityPerformance")); // Steve: 1.21 |
764 | misc["int_2"] = LLSD::Integer(gFrameStalls); // Steve: 1.21 | 763 | // misc["int_2"] = LLSD::Integer(gFrameStalls); // Steve: 1.21 |
764 | F32 unbaked_time = LLVOAvatar::sUnbakedTime / gFrameTime; | ||
765 | misc["int_1"] = LLSD::Integer(unbaked_time * 1000.f); // Steve: 1.22 | ||
766 | F32 grey_time = LLVOAvatar::sGreyTime / gFrameTime; | ||
767 | misc["int_2"] = LLSD::Integer(grey_time * 1000.f); // Steve: 1.22 | ||
765 | 768 | ||
766 | LLViewerStats::getInstance()->addToMessage(body); | 769 | LLViewerStats::getInstance()->addToMessage(body); |
767 | 770 | ||