Automated merge with http://bitbucket.org/lindenlab/viewer-interesting
commit
8d5605e09f
|
|
@ -131,7 +131,7 @@ void *APR_THREAD_FUNC LLThread::staticRun(apr_thread_t *apr_threadp, void *datap
|
|||
set_thread_name(-1, threadp->mName.c_str());
|
||||
#endif
|
||||
|
||||
|
||||
// for now, hard code all LLThreads to report to single master thread recorder, which is known to be running on main thread
|
||||
LLTrace::ThreadRecorder thread_recorder(*LLTrace::get_master_thread_recorder());
|
||||
|
||||
#if !LL_DARWIN
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@ StatBase::StatBase( const char* name, const char* description )
|
|||
mDescription(description ? description : "")
|
||||
{
|
||||
#ifndef LL_RELEASE_FOR_DOWNLOAD
|
||||
if (LLTrace::get_master_thread_recorder() != NULL)
|
||||
if (LLTrace::get_thread_recorder() != NULL)
|
||||
{
|
||||
LL_ERRS() << "Attempting to declare trace object after program initialization. Trace objects should be statically initialized." << LL_ENDL;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1325,7 +1325,7 @@ bool LLAppViewer::mainLoop()
|
|||
LLTrace::get_frame_recording().nextPeriod();
|
||||
LLTrace::BlockTimer::logStats();
|
||||
|
||||
LLTrace::get_master_thread_recorder()->pullFromChildren();
|
||||
LLTrace::get_thread_recorder()->pullFromChildren();
|
||||
|
||||
//clear call stack records
|
||||
LL_CLEAR_CALLSTACKS();
|
||||
|
|
|
|||
Loading…
Reference in New Issue