#include <llstat.h>
Definition at line 135 of file llstat.h.
Definition at line 302 of file llstat.cpp.
References i, llassert, mBeginTime, mBins, mCurBin, mDT, mLastTime, mLastValue, mNextBin, mNumBins, mNumValues, mTime, and mUseFrameTimer.
LLStat::~LLStat | ( | ) |
void LLStat::reset | ( | ) |
Definition at line 334 of file llstat.cpp.
References i, mBeginTime, mBins, mCurBin, mDT, mLastValue, mNumBins, mNumValues, and mTime.
Referenced by LLPipeline::init(), and LLViewerStats::resetStats().
void LLStat::start | ( | ) |
Definition at line 395 of file llstat.cpp.
References LLFrameTimer::getElapsedSeconds(), LLTimer::getElapsedTimeF64(), mBeginTime, mNextBin, mUseFrameTimer, sFrameTimer, and sTimer.
Referenced by send_agent_resume(), and LLFrameStats::start().
void LLStat::addValue | ( | const F32 | value = 1.f |
) |
Definition at line 407 of file llstat.cpp.
References LLFrameTimer::getElapsedSeconds(), LLTimer::getElapsedTimeF64(), mBeginTime, mBins, mCurBin, mDT, mLastTime, mLastValue, mNextBin, mNumBins, mNumValues, mTime, mUseFrameTimer, sFrameTimer, and sTimer.
Referenced by addValue(), LLFloaterJoystick::draw(), LLViewerWindow::handlePerFrameHover(), LLAppViewer::idleNetwork(), process_sim_stats(), reset_statistics(), LLPipeline::resetFrameStats(), LLFrameStats::stop(), LLViewerObjectList::update(), update_statistics(), LLViewerCamera::updateCameraLocation(), LLViewerImageList::updateImages(), LLWorld::updateNetStats(), and LLViewerRegion::updateNetStats().
void LLStat::addValue | ( | const S32 | value | ) | [inline] |
Definition at line 146 of file llstat.h.
References addValue().
void LLStat::addValue | ( | const U32 | value | ) | [inline] |
Definition at line 147 of file llstat.h.
References addValue().
void LLStat::setBeginTime | ( | const F64 | time | ) |
Definition at line 363 of file llstat.cpp.
References mBeginTime, mBins, mCurBin, mDT, mLastTime, mLastValue, mNextBin, mNumBins, mNumValues, and mTime.
S32 LLStat::getCurBin | ( | ) | const |
Definition at line 814 of file llstat.cpp.
References mCurBin.
Referenced by LLFrameStatView::draw().
S32 LLStat::getNextBin | ( | ) | const |
Definition at line 819 of file llstat.cpp.
References mNextBin.
Referenced by LLStatBar::draw().
F32 LLStat::getCurrent | ( | ) | const |
Definition at line 657 of file llstat.cpp.
References mBins, and mCurBin.
Referenced by LLFloaterLagMeter::determineServer(), LLStatBar::draw(), earlyFail(), LLFloaterAbout::LLFloaterAbout(), LLHUDText::updateAll(), LLViewerStats::updateFrameStats(), LLAgent::updateLookAt(), and LLWorld::updateNetStats().
F32 LLStat::getCurrentPerSec | ( | ) | const |
Definition at line 662 of file llstat.cpp.
References mBins, mCurBin, and mDT.
Referenced by LLStatBar::draw().
F64 LLStat::getCurrentBeginTime | ( | ) | const |
F64 LLStat::getCurrentTime | ( | ) | const |
F32 LLStat::getCurrentDuration | ( | ) | const |
Definition at line 677 of file llstat.cpp.
Referenced by LLFrameStats::addFrameData().
Definition at line 563 of file llstat.cpp.
References mBins, mCurBin, mNextBin, mNumBins, and S32.
Referenced by LLStatBar::draw(), LLViewerWindow::handlePaint(), and LLHoverView::updateHover().
Definition at line 581 of file llstat.cpp.
References mBins, mCurBin, mDT, mNextBin, mNumBins, and S32.
Referenced by LLStatBar::draw().
Definition at line 599 of file llstat.cpp.
References mBeginTime, mCurBin, mNextBin, mNumBins, and S32.
Referenced by LLFrameStatView::draw().
Definition at line 618 of file llstat.cpp.
References mCurBin, mNextBin, mNumBins, mTime, and S32.
Referenced by LLFrameStatView::draw().
Definition at line 652 of file llstat.cpp.
References mTime.
Referenced by LLFrameStatView::draw().
F32 LLStat::getMax | ( | ) | const |
Definition at line 448 of file llstat.cpp.
References i, mBins, mLastValue, mNextBin, mNumBins, and mNumValues.
Referenced by LLStatBar::draw().
F32 LLStat::getMaxPerSec | ( | ) | const |
Definition at line 734 of file llstat.cpp.
References i, llmax(), mBins, mDT, mNextBin, mNumBins, and mNumValues.
Referenced by LLStatBar::draw().
F32 LLStat::getMean | ( | ) | const |
Definition at line 474 of file llstat.cpp.
References i, mBins, mNextBin, mNumBins, and mNumValues.
Referenced by LLFloaterLagMeter::determineNetwork(), LLStatGraph::draw(), and LLStatBar::draw().
F32 LLStat::getMeanPerSec | ( | ) | const |
Definition at line 682 of file llstat.cpp.
References i, mBins, mDT, mNextBin, mNumBins, and mNumValues.
Referenced by LLStatGraph::draw(), LLStatBar::draw(), and LLViewerWindow::handlePaint().
F32 LLStat::getMeanDuration | ( | ) | const |
Definition at line 709 of file llstat.cpp.
References i, mDT, mNextBin, mNumBins, and mNumValues.
Referenced by LLFloaterLagMeter::determineClient(), and LLFrameStatView::draw().
F32 LLStat::getMin | ( | ) | const |
Definition at line 502 of file llstat.cpp.
References i, mBins, mLastValue, mNextBin, mNumBins, and mNumValues.
Referenced by LLStatBar::draw().
F32 LLStat::getMinPerSec | ( | ) | const |
Definition at line 764 of file llstat.cpp.
References i, llmin(), mBins, mDT, mNextBin, mNumBins, and mNumValues.
Referenced by LLStatBar::draw().
F32 LLStat::getMinDuration | ( | ) | const |
Definition at line 794 of file llstat.cpp.
References i, llmin(), mDT, mNumBins, and mNumValues.
F32 LLStat::getSum | ( | ) | const |
F32 LLStat::getSumDuration | ( | ) | const |
U32 LLStat::getNumValues | ( | ) | const |
Definition at line 804 of file llstat.cpp.
References mNumValues.
Referenced by LLStatBar::draw(), and LLFrameStatView::draw().
S32 LLStat::getNumBins | ( | ) | const |
Definition at line 809 of file llstat.cpp.
References mNumBins.
Referenced by LLFrameStatView::draw().
F64 LLStat::getLastTime | ( | ) | const |
BOOL LLStat::mUseFrameTimer [private] |
U32 LLStat::mNumValues [private] |
Definition at line 191 of file llstat.h.
Referenced by addValue(), addValueTime(), getMax(), getMaxPerSec(), getMean(), getMeanDuration(), getMeanPerSec(), getMin(), getMinDuration(), getMinPerSec(), getNumValues(), getSum(), getSumDuration(), LLStat(), and reset().
U32 LLStat::mNumBins [private] |
Definition at line 192 of file llstat.h.
Referenced by addValue(), addValueTime(), getMax(), getMaxPerSec(), getMean(), getMeanDuration(), getMeanPerSec(), getMin(), getMinDuration(), getMinPerSec(), getNumBins(), getPrev(), getPrevBeginTime(), getPrevPerSec(), getPrevTime(), getSum(), getSumDuration(), LLStat(), and reset().
F32 LLStat::mLastValue [private] |
Definition at line 193 of file llstat.h.
Referenced by addValue(), addValueTime(), getMax(), getMin(), LLStat(), and reset().
F64 LLStat::mLastTime [private] |
Definition at line 194 of file llstat.h.
Referenced by addValue(), addValueTime(), getLastTime(), and LLStat().
F32* LLStat::mBins [private] |
Definition at line 195 of file llstat.h.
Referenced by addValue(), addValueTime(), getBin(), getBinPerSec(), getCurrent(), getCurrentPerSec(), getMax(), getMaxPerSec(), getMean(), getMeanPerSec(), getMin(), getMinPerSec(), getPrev(), getPrevPerSec(), getSum(), LLStat(), reset(), and ~LLStat().
F64* LLStat::mBeginTime [private] |
Definition at line 196 of file llstat.h.
Referenced by addValue(), addValueTime(), getBinBeginTime(), getCurrentBeginTime(), getPrevBeginTime(), LLStat(), reset(), setBeginTime(), start(), and ~LLStat().
F64* LLStat::mTime [private] |
Definition at line 197 of file llstat.h.
Referenced by addValue(), addValueTime(), getBinTime(), getCurrentTime(), getPrevTime(), LLStat(), reset(), and ~LLStat().
F32* LLStat::mDT [private] |
Definition at line 198 of file llstat.h.
Referenced by addValue(), addValueTime(), getBinPerSec(), getCurrentDuration(), getCurrentPerSec(), getMaxPerSec(), getMeanDuration(), getMeanPerSec(), getMinDuration(), getMinPerSec(), getPrevPerSec(), getSumDuration(), LLStat(), reset(), and ~LLStat().
S32 LLStat::mCurBin [private] |
Definition at line 199 of file llstat.h.
Referenced by addValue(), addValueTime(), getCurBin(), getCurrent(), getCurrentBeginTime(), getCurrentDuration(), getCurrentPerSec(), getCurrentTime(), getPrev(), getPrevBeginTime(), getPrevPerSec(), getPrevTime(), LLStat(), and reset().
S32 LLStat::mNextBin [private] |
Definition at line 200 of file llstat.h.
Referenced by addValue(), addValueTime(), getMax(), getMaxPerSec(), getMean(), getMeanDuration(), getMeanPerSec(), getMin(), getMinPerSec(), getNextBin(), getPrev(), getPrevBeginTime(), getPrevPerSec(), getPrevTime(), getSum(), getSumDuration(), LLStat(), setBeginTime(), and start().
LLTimer LLStat::sTimer [static, private] |
LLFrameTimer LLStat::sFrameTimer [static, private] |