#include <llframestats.h>
Collaboration diagram for LLFrameStats:
Definition at line 42 of file llframestats.h.
enum LLFrameStats::EStat |
Definition at line 46 of file llframestats.h.
LLFrameStats::LLFrameStats | ( | ) |
Definition at line 86 of file llframestats.cpp.
References FALSE, mCurrentStat, mFilename, mStopTime, mTrackStats, mUseTimer, and NUM_STATS.
LLFrameStats::~LLFrameStats | ( | ) | [virtual] |
void LLFrameStats::addFrameData | ( | ) |
Definition at line 120 of file llframestats.cpp.
References FALSE, LLStat::getCurrentDuration(), LLTimer::getElapsedTimeF32(), LLViewerObjectList::getNumObjects(), LLPipeline::getVisibleCount(), gFullObjectUpdates, gObjectList, gPipeline, gTerseObjectUpdates, i, llendl, llinfos, mCurrentStat, LLFrameStats::FrameData::mDuration, mFrameData, LLFrameStats::FrameData::mNumFullUpdates, LLFrameStats::FrameData::mNumObjects, LLFrameStats::FrameData::mNumTerseUpdates, LLFrameStats::FrameData::mNumTriangles, LLFrameStats::FrameData::mNumVisibleObjects, mStats, mStopTime, mTimer, LLFrameStats::FrameData::mTotalDuration, mTrackStats, LLPipeline::mTrianglesDrawn, mUseTimer, NUM_STATS, S32, and setTrackStats().
Referenced by idle().
void LLFrameStats::dump | ( | ) |
Definition at line 163 of file llframestats.cpp.
References LLFile::fopen(), gDirUtilp, LLDir::getExpandedFilename(), i, j, LL_MAX_PATH, LL_PATH_LOGS, llendl, llinfos, mFrameData, mSummaryFilename, NUM_STATS, S32, and sStatLabels.
Referenced by disconnect_viewer(), and setTrackStats().
const char * LLFrameStats::getCurStatName | ( | ) | const |
Definition at line 85 of file llframestats.h.
References mStats.
Referenced by LLFrameStatView::setup().
Definition at line 87 of file llframestats.h.
References sStatColors.
Referenced by LLFrameStatView::setup().
const char* LLFrameStats::getStatLabel | ( | const S32 | i | ) | const [inline] |
Definition at line 86 of file llframestats.h.
References sStatLabels.
Referenced by getCurStatName(), and LLFrameStatView::setup().
void LLFrameStats::setFilename | ( | const std::string & | filename | ) | [inline] |
void LLFrameStats::setSummaryFilename | ( | const std::string & | filename | ) | [inline] |
Definition at line 73 of file llframestats.h.
References mSummaryFilename.
Referenced by idle_startup().
Definition at line 256 of file llframestats.cpp.
References dump(), llendl, llinfos, mFrameData, and mTrackStats.
Referenced by addFrameData(), saved_settings_to_globals(), startLogging(), stopLogging(), timedLogging10(), timedLogging30(), and timedLogging60().
Definition at line 101 of file llframestats.cpp.
References mCurrentStat, mStats, LLStat::start(), and stop().
Referenced by display(), idle(), and LLPipeline::renderGeom().
Definition at line 279 of file llframestats.cpp.
References gFrameStats, setTrackStats(), and TRUE.
Referenced by init_client_menu(), and LLAgentPilot::updateTarget().
void LLFrameStats::stop | ( | ) | [private] |
Definition at line 108 of file llframestats.cpp.
References LLStat::addValue(), mCurrentStat, mStats, and NUM_STATS.
Referenced by start().
Definition at line 284 of file llframestats.cpp.
References FALSE, gFrameStats, and setTrackStats().
Referenced by init_client_menu(), and LLAgentPilot::updateTarget().
Definition at line 305 of file llframestats.cpp.
References gFrameStats, mStopTime, mTimer, mUseTimer, LLTimer::reset(), setTrackStats(), and TRUE.
Referenced by init_client_menu().
Definition at line 297 of file llframestats.cpp.
References gFrameStats, mStopTime, mTimer, mUseTimer, LLTimer::reset(), setTrackStats(), and TRUE.
Referenced by init_client_menu().
Definition at line 289 of file llframestats.cpp.
References gFrameStats, mStopTime, mTimer, mUseTimer, LLTimer::reset(), setTrackStats(), and TRUE.
Referenced by init_client_menu().
EStat LLFrameStats::mCurrentStat [private] |
Definition at line 119 of file llframestats.h.
Referenced by addFrameData(), getCurStatName(), LLFrameStats(), start(), and stop().
LLString LLFrameStats::mFilename [private] |
LLDynamicArray<FrameData> LLFrameStats::mFrameData [private] |
Definition at line 124 of file llframestats.h.
Referenced by addFrameData(), dump(), setTrackStats(), and ~LLFrameStats().
LLStat LLFrameStats::mStats[NUM_STATS] [private] |
Definition at line 121 of file llframestats.h.
Referenced by addFrameData(), getStat(), start(), and stop().
F32 LLFrameStats::mStopTime [private] |
Definition at line 117 of file llframestats.h.
Referenced by addFrameData(), LLFrameStats(), timedLogging10(), timedLogging30(), and timedLogging60().
LLString LLFrameStats::mSummaryFilename [private] |
LLTimer LLFrameStats::mTimer [private] |
Definition at line 115 of file llframestats.h.
Referenced by addFrameData(), timedLogging10(), timedLogging30(), and timedLogging60().
BOOL LLFrameStats::mTrackStats [private] |
Definition at line 114 of file llframestats.h.
Referenced by addFrameData(), LLFrameStats(), and setTrackStats().
BOOL LLFrameStats::mUseTimer [private] |
Definition at line 116 of file llframestats.h.
Referenced by addFrameData(), LLFrameStats(), timedLogging10(), timedLogging30(), and timedLogging60().
LLColor4 LLFrameStats::sStatColors [static, private] |
Initial value:
{ LLColor4(0.0f, 0.5f, 1.0f, 0.5f), LLColor4(0.0f, 0.5f, 0.0f, 0.5f), LLColor4(0.0f, 0.0f, 1.0f, 0.5f), LLColor4(0.5f, 0.25f,0.5f, 0.5f), LLColor4(0.5f, 0.5f, 0.5f, 0.5f), LLColor4(0.5f, 1.0f, 0.0f, 0.5f), LLColor4(1.0f, 1.0f, 0.0f, 0.5f), LLColor4(0.0f, 0.0f, 1.0f, 0.5f), LLColor4(1.0f, 0.0f, 0.0f, 0.5f), LLColor4(0.5f, 0.0f, 0.0f, 0.5f), LLColor4(0.0f, 0.5f, 0.5f, 0.5f), LLColor4(0.5f, 1.0f, 1.0f, 0.5f), LLColor4(0.0f, 0.0f, 0.5f, 0.5f), LLColor4(1.0f, 0.0f, 1.0f, 0.5f), LLColor4(0.0f, 0.5f, 1.0f, 0.5f), LLColor4(1.0f, 1.0f, 1.0f, 0.5f), LLColor4(0.5f, 0.5f, 0.5f, 0.5f), LLColor4(1.0f, 0.0f, 0.0f, 0.5f) }
Definition at line 123 of file llframestats.h.
Referenced by getStatColor().
char * LLFrameStats::sStatLabels [static, private] |
Initial value:
{ "IdleNetwork", "AgentMisc", "ObjectUpdate", "CleanDead", "UpdateEffects", "ImageUpdate", "UpdateMove", "UpdateParticles", "UpdateCull", "UpdateGeom", "Audio", "UpdateTexStats", "StateSort", "Rebuild", "RenderSync", "RenderGeom", "RenderUI", "MiscEnd" }
Definition at line 122 of file llframestats.h.
Referenced by dump(), and getStatLabel().