diff options
author | Monty Brandenberg <monty@lindenlab.com> | 2010-11-22 10:26:25 -0800 |
---|---|---|
committer | Monty Brandenberg <monty@lindenlab.com> | 2010-11-22 10:26:25 -0800 |
commit | f98a622325d8982d32ae98e189f5d3ec6ada183f (patch) | |
tree | 9930c7e29ba4fc3dd26548f06fa2a16eaedfcb0a /indra/newview/lltexturefetch.h | |
parent | a99db82e9b3ce25bf2745721b57f0259a770b26a (diff) |
ESC-154 ESC-156 Metrics integration into viewer's threads
Removed declared but undefined interfaces from LLTextureFetch family.
Had inserted the cross-thread command processor into some of
LLTextureFetchWorker's processing which was unnatural and
probably wrong. Moved it to LLTextureFetch which turned out to
be far, far more natural. Better documentation on the asLLSD()
format. Refined LLSD stats merger logic and enhanced unit
tests to verify same.
Diffstat (limited to 'indra/newview/lltexturefetch.h')
-rw-r--r-- | indra/newview/lltexturefetch.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/indra/newview/lltexturefetch.h b/indra/newview/lltexturefetch.h index 220305d881..88b7e4a16b 100644 --- a/indra/newview/lltexturefetch.h +++ b/indra/newview/lltexturefetch.h @@ -85,7 +85,7 @@ public: LLTextureInfo* getTextureInfo() { return &mTextureInfo; } - // Commands available to other threads. + // Commands available to other threads to control metrics gathering operations. void commandSetRegion(const LLUUID & region_id); void commandSendMetrics(const std::string & caps_url, LLSD * report_main); void commandDataBreak(); @@ -98,8 +98,6 @@ protected: void addToHTTPQueue(const LLUUID& id); void removeFromHTTPQueue(const LLUUID& id, S32 received_size = 0); void removeRequest(LLTextureFetchWorker* worker, bool cancel); - // Called from worker thread (during doWork) - void processCurlRequests(); // Overrides from the LLThread tree bool runCondition(); @@ -110,10 +108,10 @@ private: /*virtual*/ void endThread(void); /*virtual*/ void threadedUpdate(void); - // command helpers + // Metrics command helpers void cmdEnqueue(TFRequest *); TFRequest * cmdDequeue(); - void cmdDoWork(LLTextureFetchWorker* worker); + void cmdDoWork(); public: LLUUID mDebugID; @@ -146,7 +144,7 @@ private: U32 mHTTPTextureBits; - // Special cross-thread command queue. This command queue + // Out-of-band cross-thread command queue. This command queue // is logically tied to LLQueuedThread's list of // QueuedRequest instances and so must be covered by the // same locks. |