#include <llviewerstats.h>
Definition at line 37 of file llviewerstats.h.
Definition at line 110 of file llviewerstats.h.
LLViewerStats::LLViewerStats | ( | ) |
Definition at line 205 of file llviewerstats.cpp.
References i, LLTimer::knownBadTimer(), mStats, S32, ST_COUNT, and ST_HAS_BAD_TIMER.
LLViewerStats::~LLViewerStats | ( | ) |
Definition at line 220 of file llviewerstats.cpp.
void LLViewerStats::resetStats | ( | ) |
Definition at line 224 of file llviewerstats.cpp.
References LLSingleton< LLViewerStats >::getInstance(), mAssetKBitStat, mFPSStat, mKBitStat, mLayersKBitStat, mObjectKBitStat, mPacketsInStat, mPacketsLostStat, mPacketsOutStat, mTextureKBitStat, mTexturePacketsStat, mVFSPendingOperations, and LLStat::reset().
Referenced by idle_startup().
Definition at line 240 of file llviewerstats.cpp.
References mStats.
Referenced by LLSelectMgr::confirmDelete(), updateFrameStats(), and LLVOAvatar::updateRegion().
Definition at line 245 of file llviewerstats.cpp.
References mStats.
Referenced by LLSelectMgr::confirmDelete(), LLViewerWindow::reshape(), update_statistics(), updateFrameStats(), and LLVOAvatar::updateRegion().
Definition at line 251 of file llviewerstats.cpp.
References mStats.
Referenced by LLToolPlacer::addObject(), LLScriptEdCore::doSave(), LLToolDragAndDrop::dropObject(), LLToolDragAndDrop::dropTextureAllFaces(), LLToolDragAndDrop::dropTextureOneFace(), LLVOAvatar::forceBakeAllTextures(), idle_startup(), LLPanelFace::onCommitTexture(), onCovenantLoadComplete(), LLLiveLSLEditor::onLoadComplete(), LLPreviewLSL::onLoadComplete(), LLPreviewNotecard::onLoadComplete(), LLPreviewGesture::onLoadComplete(), LLGestureManager::onLoadComplete(), LLPanelEstateCovenant::onLoadComplete(), process_alert_core(), LLWearableList::processGetAssetReply(), LLLandmarkList::processGetAssetReply(), LLVOAvatar::processRebakeAvatarTextures(), LLTexLayerSetBuffer::readBackAndUpload(), LLSnapshotLivePreview::saveTexture(), LLFloaterCompileQueue::scriptArrived(), send_chat_from_viewer(), LLFloaterIMPanel::sendMsg(), LLAgent::setFlying(), LLAgent::teleportCore(), update_statistics(), updateFrameStats(), and upload_new_resource().
void LLViewerStats::updateFrameStats | ( | const F64 | time_diff | ) |
Definition at line 257 of file llviewerstats.cpp.
References LLStat::getCurrent(), LLViewerThrottle::getCurrentBandwidth(), LLTimer::getElapsedTimeF32(), LLViewerThrottle::getMaxBandwidth(), getStat(), gFrameCount, gRenderStartTime, gViewerThrottle, incStat(), mLastTimeDiff, mPacketsLostPercentStat, mSimFPS, mSimPhysicsFPS, setStat(), ST_DELTA_BANDWIDTH, ST_FPS_10_SECONDS, ST_FPS_2_SECONDS, ST_FPS_8_SECONDS, ST_FPS_DROP_50_RATIO, ST_FRAMETIME_JITTER, ST_FRAMETIME_SLEW, ST_LOSS_05_SECONDS, ST_MAX_BANDWIDTH, ST_PHYS_FPS_20_SECONDS, and ST_SIM_FPS_20_SECONDS.
Referenced by LLViewerObjectList::update().
void LLViewerStats::addToMessage | ( | LLSD & | body | ) | const |
Definition at line 317 of file llviewerstats.cpp.
References i, llendl, llinfos, StatAttributes::mName, mStats, S32, and ST_COUNT.
Referenced by send_stats().
const char * LLViewerStats::statTypeToText | ( | EStatType | type | ) | [static] |
Definition at line 40 of file llviewerstats.h.
Referenced by resetStats(), and LLWorld::updateNetStats().
Definition at line 46 of file llviewerstats.h.
Definition at line 47 of file llviewerstats.h.
Definition at line 48 of file llviewerstats.h.
Definition at line 49 of file llviewerstats.h.
Definition at line 50 of file llviewerstats.h.
Definition at line 51 of file llviewerstats.h.
Referenced by LLFloaterLagMeter::determineClient(), LLViewerWindow::handlePaint(), resetStats(), send_agent_resume(), and update_statistics().
Definition at line 52 of file llviewerstats.h.
Referenced by resetStats(), and LLWorld::updateNetStats().
Definition at line 53 of file llviewerstats.h.
Referenced by LLFloaterAbout::LLFloaterAbout(), resetStats(), and LLWorld::updateNetStats().
Definition at line 54 of file llviewerstats.h.
Referenced by resetStats(), and LLWorld::updateNetStats().
Definition at line 55 of file llviewerstats.h.
Referenced by LLFloaterLagMeter::determineNetwork(), updateFrameStats(), and LLWorld::updateNetStats().
Definition at line 61 of file llviewerstats.h.
Referenced by LLViewerWindow::handlePaint(), and process_sim_stats().
Definition at line 63 of file llviewerstats.h.
Referenced by process_sim_stats(), and updateFrameStats().
Definition at line 64 of file llviewerstats.h.
Referenced by LLViewerWindow::handlePaint(), process_sim_stats(), and updateFrameStats().
Definition at line 68 of file llviewerstats.h.
Referenced by LLFloaterLagMeter::determineServer(), and process_sim_stats().
Definition at line 104 of file llviewerstats.h.
Referenced by LLFloaterLagMeter::determineNetwork(), and update_statistics().
F64 LLViewerStats::mStats[ST_COUNT] [private] |
Definition at line 191 of file llviewerstats.h.
Referenced by addToMessage(), getStat(), incStat(), LLViewerStats(), and setStat().
F64 LLViewerStats::mLastTimeDiff [private] |