diff options
Diffstat (limited to 'indra/newview')
| -rwxr-xr-x | indra/newview/llappviewer.h | 2 | ||||
| -rwxr-xr-x | indra/newview/llsecapi.h | 3 | ||||
| -rwxr-xr-x | indra/newview/llviewerstats.h | 17 | 
3 files changed, 13 insertions, 9 deletions
| diff --git a/indra/newview/llappviewer.h b/indra/newview/llappviewer.h index 68e9ebeff3..e7dd605044 100755 --- a/indra/newview/llappviewer.h +++ b/indra/newview/llappviewer.h @@ -271,7 +271,7 @@ private:  	LLWatchdogTimeout* mMainloopTimeout;  	// For performance and metric gathering -	LLThread*	mFastTimerLogThread; +	class LLThread*	mFastTimerLogThread;  	// for tracking viewer<->region circuit death  	bool mAgentRegionLastAlive; diff --git a/indra/newview/llsecapi.h b/indra/newview/llsecapi.h index 28765fbfb1..c01d318f56 100755 --- a/indra/newview/llsecapi.h +++ b/indra/newview/llsecapi.h @@ -28,9 +28,10 @@  #ifndef LLSECAPI_H  #define LLSECAPI_H  #include <vector> +#include "llwin32headerslean.h"  #include <openssl/x509.h>  #include <ostream> -#include "llthread.h" +#include "llpointer.h"  #ifdef LL_WINDOWS  #pragma warning(disable:4250) diff --git a/indra/newview/llviewerstats.h b/indra/newview/llviewerstats.h index 3b7079ae4b..ee1a73de9f 100755 --- a/indra/newview/llviewerstats.h +++ b/indra/newview/llviewerstats.h @@ -48,6 +48,8 @@ struct SimMeasurementSampler : public LLInstanceTracker<SimMeasurementSampler, E  template<typename T = F64>  struct SimMeasurement : public LLTrace::SampleStatHandle<T>, public SimMeasurementSampler  { +	typedef SimMeasurement<T> self_t; +  	SimMeasurement(const char* name, const char* description, ESimStatID stat_id)  	:	LLTrace::SampleStatHandle<T>(name, description),  		SimMeasurementSampler(stat_id)	 @@ -55,17 +57,18 @@ struct SimMeasurement : public LLTrace::SampleStatHandle<T>, public SimMeasureme  	using SimMeasurementSampler::getInstance; +	//friend void sample(self_t& measurement, T value) +	//{ +	//	LLTrace::sample(static_cast<LLTrace::SampleStatHandle<T>& >(measurement), value); +	//} +  	/*virtual*/ void sample(F64 value)  	{ -		LLTrace::sample(*this, value); +		LLTrace::sample(static_cast<LLTrace::SampleStatHandle<T>& >(*this), value); +		//LLStatViewer::sample(*this, value);  	} -}; -template<typename T, typename VALUE_T> -void sample(SimMeasurement<T>& measurement, VALUE_T value) -{ -	LLTrace::sample(measurement, value); -} +};  extern LLTrace::CountStatHandle<>			FPS,  											PACKETS_IN, | 
