llviewerstats.cpp File Reference

LLViewerStats class implementation. More...

#include "llviewerprecompiledheaders.h"
#include "llviewerstats.h"
#include "llviewerthrottle.h"
#include "message.h"
#include "lltimer.h"
#include "llappviewer.h"
#include "pipeline.h"
#include "llviewerobjectlist.h"
#include "llviewerimagelist.h"
#include "lltexlayer.h"
#include "llsurface.h"
#include "llvlmanager.h"
#include "llagent.h"
#include "llviewercontrol.h"
#include "llfloaterdirectory.h"
#include "llfloatertools.h"
#include "lldebugview.h"
#include "llfasttimerview.h"
#include "llviewerregion.h"
#include "llfloaterhtml.h"
#include "llviewerwindow.h"
#include "llworld.h"
#include "llfeaturemanager.h"

Include dependency graph for llviewerstats.cpp:

Go to the source code of this file.

Classes

class  StatAttributes
class  ViewerStatsResponder

Functions

void reset_statistics ()
void output_statistics (void *)
void update_statistics (U32 frame_count)
void send_stats ()

Variables

const StatAttributes STAT_INFO [LLViewerStats::ST_COUNT]
U32 gTotalLandIn = 0
U32 gTotalLandOut = 0
U32 gTotalWaterIn = 0
U32 gTotalWaterOut = 0
F32 gAveLandCompression = 0.f
F32 gAveWaterCompression = 0.f
F32 gBestLandCompression = 1.f
F32 gBestWaterCompression = 1.f
F32 gWorstLandCompression = 0.f
F32 gWorstWaterCompression = 0.f
U32 gTotalWorldBytes = 0
U32 gTotalObjectBytes = 0
U32 gTotalTextureBytes = 0
U32 gSimPingCount = 0
U32 gObjectBits = 0
F32 gAvgSimPing = 0.f
U32 gVisCompared
U32 gVisTested
std::map< S32, LLFrameTimergDebugTimers


Detailed Description

LLViewerStats class implementation.

LicenseInfo
firstyear=2002&license=viewergpl

Copyright (c) 2002-2008, Linden Research, Inc.

Second Life Viewer Source Code The source code in this file ("Source Code") is provided by Linden Lab to you under the terms of the GNU General Public License, version 2.0 ("GPL"), unless you have obtained a separate licensing agreement ("Other License"), formally executed by you and Linden Lab. Terms of the GPL can be found in doc/GPL-license.txt in this distribution, or online at http://secondlifegrid.net/programs/open_source/licensing/gplv2

There are special exceptions to the terms and conditions of the GPL as it is applied to this Source Code. View the full text of the exception in the file doc/FLOSS-exception.txt in this software distribution, or online at http://secondlifegrid.net/programs/open_source/licensing/flossexception

By copying, modifying or distributing this software, you acknowledge that you have read and understood your obligations described above, and agree to abide by those obligations.

ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, COMPLETENESS OR PERFORMANCE. $/LicenseInfo$

Definition in file llviewerstats.cpp.


Function Documentation

void output_statistics ( void *   ) 

void reset_statistics (  ) 

Definition at line 348 of file llviewerstats.cpp.

References LLStat::addValue(), gPipeline, LLPipeline::resetFrameStats(), LLSurface::sTexelsUpdated, LLSurface::sTexelsUpdatedPerSecStat, and LLSurface::sTextureUpdateTime.

Referenced by LLAppViewer::idle().

Here is the call graph for this function:

Here is the caller graph for this function:

void send_stats (  ) 

Definition at line 634 of file llviewerstats.cpp.

References LLViewerStats::addToMessage(), gAgent, gAgentSessionID, gAvgSimPing, gCurrentVersion, LLViewerRegion::getCapability(), LLCPUInfo::getCPUString(), getCurrentRSS(), LLAgent::getDistanceTraveled(), LLFrameTimer::getElapsedSeconds(), LLTimer::getElapsedTimeF32(), LLFrameTimer::getElapsedTimeF32(), LLFeatureManager::getGPUClass(), LLFeatureManager::getGPUString(), LLSingleton< LLViewerStats >::getInstance(), LLSingleton< LLFeatureManager >::getInstance(), LLAppViewer::getOSInfo(), LLOSInfo::getOSStringSimple(), LLMemoryInfo::getPhysicalMemoryKB(), LLAgent::getRegion(), LLAgent::getRegionsVisited(), LLControlGroup::getString(), LLViewerWindow::getWindowDisplayHeight(), LLViewerWindow::getWindowDisplayWidth(), gForegroundFrameCount, gForegroundTime, gFrameCount, gGLManager, gMessageSystem, gNoRender, gRenderStartTime, gSavedSettings, gSimFrames, gSimLastTime, gSysCPU, gSysMemory, gTotalObjectBytes, gTotalTextureBytes, gTotalWorldBytes, gViewerWindow, LLAppViewer::instance(), llendl, llformat(), llwarns, LLMessageSystem::mCompressedBytesIn, LLMessageSystem::mCompressedBytesOut, LLMessageSystem::mCompressedPacketsIn, LLMessageSystem::mCompressedPacketsOut, LLGLManager::mDriverVersionVendorString, LLMessageSystem::mDroppedPackets, LLMessageSystem::mFailedResendPackets, LLGLManager::mGLVendorShort, LLMessageSystem::mInvalidOnCircuitPackets, LLMessageSystem::mOffCircuitPackets, LLMessageSystem::mPacketsIn, LLMessageSystem::mPacketsOut, LLMessageSystem::mResentPackets, LLMessageSystem::mSendPacketFailureCount, LLMessageSystem::mTotalBytesIn, LLMessageSystem::mTotalBytesOut, LLMessageSystem::mUncompressedBytesIn, LLMessageSystem::mUncompressedBytesOut, LLHTTPClient::post(), S32, SEND_STATS_PERIOD, LLFloaterDirectory::sNewSearchCount, LLVOAvatar::sNumVisibleAvatars, and LLFloaterDirectory::sOldSearchCount.

Referenced by LLAppViewer::idle(), and LLAppViewer::requestQuit().

Here is the call graph for this function:

Here is the caller graph for this function:

void update_statistics ( U32  frame_count  ) 

Definition at line 503 of file llviewerstats.cpp.

References LLStat::addValue(), CAMERA_MODE_CUSTOMIZE_AVATAR, CAMERA_MODE_MOUSELOOK, LLLCD::Enabled(), LLCircuit::findCircuit(), LLFastTimer::FTM_FRAME, LLFastTimer::FTM_IDLE, LLFastTimer::FTM_IMAGE_UPDATE, LLFastTimer::FTM_NETWORK, LLFastTimer::FTM_RENDER_GEOMETRY, LLFastTimer::FTM_STATESORT, gAgent, gAvgSimPing, gDebugTimers, gDebugView, LLControlGroup::getBOOL(), LLAgent::getCameraMode(), LLVLManager::getCloudBits(), LLControlGroup::getF32(), LLViewerRegion::getHost(), LLSingleton< LLWorld >::getInstance(), LLSingleton< LLViewerStats >::getInstance(), LLVLManager::getLandBits(), LLCircuitData::getPingDelay(), LLAgent::getRegion(), LLControlGroup::getS32(), LLFastTimerView::getTime(), LLVLManager::getTotalBytes(), LLTransferManager::getTransferBitsIn(), LLVFile::getVFSThread(), LLView::getVisible(), LLVLManager::getWindBits(), gFloaterTools, gFrameIntervalSeconds, gLcdScreen, gMessageSystem, gObjectBits, gSavedSettings, gSimPingCount, gTotalObjectBytes, gTotalTextureBytes, gTotalWorldBytes, gTransferManager, gVLManager, LLViewerStats::incStat(), LLTCT_ASSET, LLViewerStats::mAssetKBitStat, LLMessageSystem::mCircuitInfo, LLDebugView::mFastTimerView, LLViewerStats::mFPSStat, LLViewerStats::mLayersKBitStat, LLViewerStats::mObjectKBitStat, LLViewerStats::mSimPingStat, LLViewerStats::mTextureKBitStat, LLViewerStats::mTexturePacketsStat, LLViewerStats::mVFSPendingOperations, LLWorld::requestCacheMisses(), LLVLManager::resetBitCounts(), LLTransferManager::resetTransferBitsIn(), S32, LLViewerStats::setStat(), LLVOAvatar::sNumVisibleAvatars, LLViewerStats::ST_AVATAR_EDIT_SECONDS, LLViewerStats::ST_CHAT_BUBBLES, LLViewerStats::ST_DRAW_DIST, LLViewerStats::ST_ENABLE_VBO, LLViewerStats::ST_FRAME_SECS, LLViewerStats::ST_IMAGE_SECS, LLViewerStats::ST_LIGHTING_DETAIL, LLViewerStats::ST_LOGITECH_LCD, LLViewerStats::ST_MOUSELOOK_SECONDS, LLViewerStats::ST_NETWORK_SECS, LLViewerStats::ST_REBUILD_SECS, LLViewerStats::ST_RENDER_SECS, LLViewerStats::ST_SHADER_AVATAR, LLViewerStats::ST_SHADER_ENVIRONMENT, LLViewerStats::ST_SHADER_OBJECTS, LLViewerStats::ST_TOOLBOX_SECONDS, LLViewerStats::ST_UPDATE_SECS, LLViewerStats::ST_VISIBLE_AVATARS, LLViewerImageList::sTextureBits, LLViewerImageList::sTexturePackets, and LLWorld::updateNetStats().

Referenced by LLAppViewer::idle().

Here is the call graph for this function:

Here is the caller graph for this function:


Variable Documentation

Definition at line 487 of file llviewerstats.cpp.

Definition at line 487 of file llviewerstats.cpp.

Definition at line 495 of file llviewerstats.cpp.

Referenced by send_stats(), and update_statistics().

Definition at line 488 of file llviewerstats.cpp.

Definition at line 488 of file llviewerstats.cpp.

Definition at line 501 of file llviewerstats.cpp.

Referenced by LLDebugText::update(), and update_statistics().

Definition at line 493 of file llviewerstats.cpp.

Referenced by update_statistics().

Definition at line 484 of file llviewerstats.cpp.

Definition at line 484 of file llviewerstats.cpp.

Definition at line 493 of file llviewerstats.cpp.

Referenced by send_stats(), and update_statistics().

Definition at line 493 of file llviewerstats.cpp.

Referenced by send_stats(), and update_statistics().

Definition at line 485 of file llviewerstats.cpp.

Definition at line 485 of file llviewerstats.cpp.

Definition at line 493 of file llviewerstats.cpp.

Referenced by send_stats(), and update_statistics().

Definition at line 489 of file llviewerstats.cpp.

Definition at line 489 of file llviewerstats.cpp.

const StatAttributes STAT_INFO[LLViewerStats::ST_COUNT]

Definition at line 81 of file llviewerstats.cpp.


Generated on Fri May 16 08:37:58 2008 for SecondLife by  doxygen 1.5.5