diff options
| author | Richard Linden <none@none> | 2013-11-11 19:17:49 -0800 | 
|---|---|---|
| committer | Richard Linden <none@none> | 2013-11-11 19:17:49 -0800 | 
| commit | 17e9c872ada0cd1d3bf5c16887ee7f220f3a10c7 (patch) | |
| tree | 93f36acc00695d7b4ee2e43d08ce790358966f38 /indra/newview/lltextureinfo.h | |
| parent | ebc9bcbf69f7a519677a6522979a6bf6cbb04bb8 (diff) | |
| parent | 1983f52ce5211c02a55f5cabd86962eea3a22084 (diff) | |
Automated merge with http://bitbucket.org/lindenlab/viewer-release
Diffstat (limited to 'indra/newview/lltextureinfo.h')
| -rwxr-xr-x | indra/newview/lltextureinfo.h | 32 | 
1 files changed, 14 insertions, 18 deletions
| diff --git a/indra/newview/lltextureinfo.h b/indra/newview/lltextureinfo.h index 2ccbcc5fd2..176f2cbb74 100755 --- a/indra/newview/lltextureinfo.h +++ b/indra/newview/lltextureinfo.h @@ -29,6 +29,7 @@  #include "lluuid.h"  #include "lltextureinfodetails.h" +#include "lltracerecording.h"  #include <map>  class LLTextureInfo @@ -37,18 +38,18 @@ public:  	LLTextureInfo();  	~LLTextureInfo(); -	void setUpLogging(bool writeToViewerLog, bool sendToSim, U32 textureLogThreshold); +	void setUpLogging(bool writeToViewerLog, bool sendToSim, U32Bytes textureLogThreshold);  	bool has(const LLUUID& id);  	void setRequestStartTime(const LLUUID& id, U64 startTime);  	void setRequestSize(const LLUUID& id, U32 size);  	void setRequestOffset(const LLUUID& id, U32 offset);  	void setRequestType(const LLUUID& id, LLTextureInfoDetails::LLRequestType type); -	void setRequestCompleteTimeAndLog(const LLUUID& id, U64 completeTime); -	U32 getRequestStartTime(const LLUUID& id); -	U32 getRequestSize(const LLUUID& id); +	void setRequestCompleteTimeAndLog(const LLUUID& id, U64Microseconds completeTime); +	U32Microseconds getRequestStartTime(const LLUUID& id); +	U32Bytes getRequestSize(const LLUUID& id);  	U32 getRequestOffset(const LLUUID& id);  	LLTextureInfoDetails::LLRequestType getRequestType(const LLUUID& id); -	U32 getRequestCompleteTime(const LLUUID& id); +	U32Microseconds getRequestCompleteTime(const LLUUID& id);  	void resetTextureStatistics();  	U32 getTextureInfoMapSize();  	LLSD getAverages(); @@ -56,19 +57,14 @@ public:  private:  	void addRequest(const LLUUID& id); -	std::map<LLUUID, LLTextureInfoDetails *> mTextures; - -	LLSD mAverages; - -	bool mLogTextureDownloadsToViewerLog; -	bool mLogTextureDownloadsToSimulator; -	S32 mTotalBytes; -	S32 mTotalMilliseconds; -	S32 mTextureDownloadsStarted; -	S32 mTextureDownloadsCompleted; -	std::string mTextureDownloadProtocol; -	U32 mTextureLogThreshold; // in bytes -	U64 mCurrentStatsBundleStartTime; +	std::map<LLUUID, LLTextureInfoDetails *>	mTextures; +	LLSD										mAverages; +	bool										mLogTextureDownloadsToViewerLog, +												mLogTextureDownloadsToSimulator; +	std::string									mTextureDownloadProtocol; +	U32Bytes					mTextureLogThreshold;  +	U64Microseconds			mCurrentStatsBundleStartTime; +	LLTrace::Recording							mRecording;  };  #endif // LL_LLTEXTUREINFO_H | 
