llviewerthrottle.cpp File Reference

LLViewerThrottle class implementation. More...

#include "llviewerprecompiledheaders.h"
#include "llviewerthrottle.h"
#include "llviewercontrol.h"
#include "message.h"
#include "llagent.h"
#include "llframetimer.h"
#include "llviewerstats.h"
#include "lldatapacker.h"

Include dependency graph for llviewerthrottle.cpp:

Go to the source code of this file.

Classes

class  LLBPSListener

Variables

const F32 MAX_FRACTIONAL = 1.5f
const F32 MIN_FRACTIONAL = 0.2f
const F32 MIN_BANDWIDTH = 50.f
const F32 MAX_BANDWIDTH = 1500.f
const F32 STEP_FRACTIONAL = 0.1f
const F32 TIGHTEN_THROTTLE_THRESHOLD = 3.0f
const F32 EASE_THROTTLE_THRESHOLD = 0.5f
const F32 DYNAMIC_UPDATE_DURATION = 5.0f
LLViewerThrottle gViewerThrottle
const F32 BW_PRESET_50 [TC_EOF] = { 5, 10, 3, 3, 10, 10, 9 }
const F32 BW_PRESET_300 [TC_EOF] = { 30, 40, 9, 9, 86, 86, 40 }
const F32 BW_PRESET_500 [TC_EOF] = { 50, 70, 14, 14, 136, 136, 80 }
const F32 BW_PRESET_1000 [TC_EOF] = { 100, 100, 20, 20, 310, 310, 140 }


Detailed Description

LLViewerThrottle class implementation.

LicenseInfo
firstyear=2002&license=viewergpl

Copyright (c) 2002-2007, 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://secondlife.com/developers/opensource/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://secondlife.com/developers/opensource/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 llviewerthrottle.cpp.


Variable Documentation

const F32 BW_PRESET_1000[TC_EOF] = { 100, 100, 20, 20, 310, 310, 140 }

Definition at line 77 of file llviewerthrottle.cpp.

Referenced by LLViewerThrottle::LLViewerThrottle().

const F32 BW_PRESET_300[TC_EOF] = { 30, 40, 9, 9, 86, 86, 40 }

Definition at line 75 of file llviewerthrottle.cpp.

Referenced by LLViewerThrottle::LLViewerThrottle().

const F32 BW_PRESET_50[TC_EOF] = { 5, 10, 3, 3, 10, 10, 9 }

Definition at line 74 of file llviewerthrottle.cpp.

Referenced by LLViewerThrottle::LLViewerThrottle().

const F32 BW_PRESET_500[TC_EOF] = { 50, 70, 14, 14, 136, 136, 80 }

Definition at line 76 of file llviewerthrottle.cpp.

Referenced by LLViewerThrottle::LLViewerThrottle().

const F32 DYNAMIC_UPDATE_DURATION = 5.0f

Definition at line 56 of file llviewerthrottle.cpp.

Referenced by LLViewerThrottle::updateDynamicThrottle().

const F32 EASE_THROTTLE_THRESHOLD = 0.5f

Definition at line 55 of file llviewerthrottle.cpp.

Referenced by LLViewerThrottle::updateDynamicThrottle().

LLViewerThrottle gViewerThrottle

Definition at line 58 of file llviewerthrottle.cpp.

Referenced by LLBPSListener::handleEvent(), LLBandwidthListener::handleEvent(), idle_network(), idle_startup(), process_agent_movement_complete(), LLViewerThrottle::setMaxBandwidth(), and LLViewerStats::updateFrameStats().

const F32 MAX_BANDWIDTH = 1500.f

Definition at line 52 of file llviewerthrottle.cpp.

Referenced by LLViewerThrottle::getThrottleGroup(), and LLViewerThrottle::updateDynamicThrottle().

const F32 MAX_FRACTIONAL = 1.5f

Definition at line 48 of file llviewerthrottle.cpp.

Referenced by LLViewerThrottle::resetDynamicThrottle(), and LLViewerThrottle::updateDynamicThrottle().

const F32 MIN_BANDWIDTH = 50.f

Definition at line 51 of file llviewerthrottle.cpp.

Referenced by LLViewerThrottle::getThrottleGroup(), and LLViewerThrottle::updateDynamicThrottle().

const F32 MIN_FRACTIONAL = 0.2f

Definition at line 49 of file llviewerthrottle.cpp.

Referenced by LLViewerThrottle::updateDynamicThrottle().

const F32 STEP_FRACTIONAL = 0.1f

Definition at line 53 of file llviewerthrottle.cpp.

Referenced by LLViewerThrottle::updateDynamicThrottle().

const F32 TIGHTEN_THROTTLE_THRESHOLD = 3.0f

Definition at line 54 of file llviewerthrottle.cpp.

Referenced by LLViewerThrottle::updateDynamicThrottle().


Generated on Thu Jul 1 06:10:48 2010 for Second Life Viewer by  doxygen 1.4.7