Age | Commit message (Collapse) | Author |
|
|
|
|
|
actually use return value of posix_memalign!
|
|
|
|
made LLTrace::MemTrackable support custom alignment
LLDrawable now uses MemTrackable new and delete operators
|
|
attempted fix for gcc compile errors
can't use typeid() on a class that doesn't have a method
defined in a translation unit
fix is to force classes deriving from LLMemTrackable to
use their own static member named sMemStat
|
|
|
|
made fast timer stack thread local
added LLThreadLocalSingleton
made LLThreadLocalPointer obey pointer rules for const
added LLThreadLocalSingletonPointer for fast thread local pointers
|
|
fixed crash on exit by making LLInstanceTracker iterators use atomic iterator
nesting count for thread safety
|
|
improvements on lifetime of lltrace core data structures
tweaks to thread local pointer handling so that static constructors/destructors
can safely call functions that use lltrace
|
|
removed some potential data races
got memory stats recording in trace system
|
|
created memory tracking trace type
instrumented a few classes with memory tracking
|
|
added ability to query self time of block timers indepedently
|
|
potential fixes for gcc builds
|
|
improved unit tests for LLUnit
renamed LLUnit to LLUnitImplicit with LLUnit being reserved for
explicit units
|
|
fixed gcc compile error
made LLCopyOnWritePointer contain an LLPointer, not derive from it
added type trait to control periodicrecording mean value type
|
|
added copy constructor to periodic recording to allow snapshot generation
in fast timer view
fixed build errors
|
|
converted fast timer view over to new lltrace mechanisms
|
|
fixed scale of reported times
moved reset calls to happen at same time so we don't show partial results
|
|
moved runtime timer tree topology information to separate array instead of recording stack
|
|
hunting down bad values and crashes
|
|
got new fast timer code to compile and run
|
|
cleaning up build
moved most includes of windows.h to llwin32headers.h to disable min/max macros, etc
streamlined Time class and consolidated functionality in BlockTimer class
llfasttimer is no longer included via llstring.h, so had to add it manually in several places
|
|
moving fast timers into lltrace namespace and accumulation system
|
|
simplified llfasttimer code down to 2 classes
llunit unit conversion now done in floating point or 64 bit integer precision,
depending on source type
|
|
Finished making LLUnit implicitly convertible to/from scalar integer values
cleaned up test code
|
|
fixed trace data gathering and routing from background thread
simplified slave->master thread communication (eliminated redundant recording and proxy object)
improved performance of fast timer data gathering (slow iterators)
|
|
fixed copy behavior of recordings and accumulator buffers
|
|
output of floater_stats is now identical to pre-lltrace system (with some tweaks)
|
|
final removal of remaining LLStat code
|
|
fixed trace recording on background threads hitting null pointer
|
|
started conversion of llviewerassetstats
removed old, dead LLViewerStats code
made units tracing require units declaration
clean up of units handling
|
|
put template parameter back in LLUnit units
added free function operators for mathematical manipulation of unit values
converted texture memory tracking to units
|
|
converted all remaining LLViewerStats to lltrace
|
|
default to double precision now
fixed unit conversion logic for LLUnit
renamed LLTrace::Rate to LLTrace::Count and got rid of the old count as it was confusing
some const correctness changes
|
|
cleaned up accumulator merging logic
introduced frame recording to LLTrace directly instead of going through LLViewerStats
moved consumer code over to frame recording instead of whatever the current active recording was
|
|
|
|
fixed units conversion so that trace getters return convertable units
removed circular dependencies from lltrace*
converted more stats to lltrace
|
|
added PeriodicRecorder class for frame by frame stats accumulation
|
|
moved threadrecorder classes into separate file
added Count trace type, which tracks value increases and decreases and can report churn
as well as overall growth rate
|
|
SH-3403 FIX implement unit conversion
LLUnit implements unit tracking and conversion
added support for LLUnit to LLTrace
duplicated most llstats into LLTrace equivalents
|
|
implemented minimal merging logic
made recordings ligher weight by moving live tracking data into threadrecorder
|
|
renamed LLTrace::ThreadTrace to LLTrace::ThreadRecorder
renamed LLTrace::Sampler to LLTrace::Recording
|
|
cleaned up API
samplers are now value types with copy-on-write buffers under the hood
removed coupling with LLThread
|
|
factored out lltrace::sampler into separate file
added rudimentary lltrace support to llstatgraph
made llstatgraph use param blocks more effectively
moves initial set of stats over to lltrace
removed windows.h #defines for min and max
|
|
created separate constructor for static allocation of sampler buffer
fixed start/stop/resume semantics of samplers and added sampler time interval tracking
|
|
slave threads now pushing data to master thread
|
|
fixed various issues related to unit tests and LLThreadLocalPtr initialization and teardown
|
|
moved LLThreadLocalPtr to llapr
fixed various startup race conditions for LLThreadLocalPtr
|
|
added LLThreadLocalPtr
broke llmutex out into llmutex.h
got primary sampling buffer under thread local storage
|