Commit Graph

60 Commits (3f2de87340b1c831ea59e4a3ca960d49f343c9fd)

Author SHA1 Message Date
Richard Linden 3f2de87340 SH-3931 WIP Interesting: Add graphs to visualize scene load metrics
added getAs and setAs to LLUnit to make it clearer how you specify units
removed accidental 0-based indexing of periodicRecording history...
should now be consistently 1-based, with 0 accessing current active recording
removed per frame timer updates of all historical timer bars in fast timer display
added missing assignment operator to recordings
2013-06-17 01:18:21 -07:00
Richard Linden 9fd3af3c38 SH-3931 WIP Interesting: Add graphs to visualize scene load metrics
changed Units macros and argument order to make it more clear
optimized units for integer types
fixed merging of periodicrecordings...should eliminate duplicate entries in sceneloadmonitor history
2013-06-13 15:29:15 -07:00
Richard Linden a74b5dfa92 SH-3931 WIP Interesting: Add graphs to visualize scene load metrics
fixed mem stat tracking...now properly tracks memory footprint with floating point
precision
cleaned up macros for unit declaration
renamed units to SI standard for 1024 multiples (kibibytes, etc)
fixed units output for scene monitor dump
2013-06-04 19:45:33 -07:00
Richard Linden 233201f822 SH-3931 WIP Interesting: Add graphs to visualize scene load metrics
removed unnecessary templates from accumulator types...now always
track data in double precision floating point, using templated accessors to
convert to and from arbitrary types
2013-06-02 22:49:17 -07:00
Richard Linden fd21ddd9d0 SH-3931 WIP Interesting: Add graphs to visualize scene load metrics
made recordings auto-update when executing query while active
2013-05-31 23:40:10 -07:00
Richard Linden 9def3590f4 SH-3931 WIP Interesting: Add graphs to visualize scene load metrics
fixed multithreading lltrace causing values to be interpolated towards 0
added Radians unit
improved sceneloadmonitor restart heuristic to use accumulated camera motion
2013-05-31 16:01:46 -07:00
Richard Linden e50e600408 SH-3931 WIP Interesting: Add graphs to visualize scene load metrics
reverted SlaveThreadRecorder update gating
moved processTimes() outside of Recording, so it is called only once per frame
refined sample merge logic so that multi-threaded samples do not stomp on linear history
of a stat
2013-05-30 20:15:48 -07:00
Richard Linden ae35518832 SH-3931 WIP Interesting: Add graphs to visualize scene load metrics
fixed LLTrace::ExtendablePeriodicRecording::extend() to include *all* frame extensions
gated SlaveThreadRecorder pushing to master based on master update rate
reverted changes to LLThreadLocalSingletonPointer to not use offset-from-default trick
2013-05-30 18:30:11 -07:00
Richard Linden 9ae76d1215 SH-3931 WIP Interesting: Add graphs to visualize scene load metrics
fixed copy construction behavior of Recordings to not zero out data
split measurement into event and sample, with sample representing
a continuous function
2013-05-29 17:00:50 -07:00
Richard Linden ab51065357 SH-3931 WIP Interesting: Add graphs to visualize scene load metrics
removed extra dereference for copy on write pointer
moved copyonwrite mechanism to RecordingBuffers from individual buffer
fixed logic that was leaving scene unfrozen when camera moved during metrics gathering
2013-05-20 19:27:50 -07:00
Richard Linden f850ae03b3 SH-3931 WIP Interesting: Add graphs to visualize scene load metrics
fixed copy construction of Recorders, eliminated most zero-length frames
fixed reset behavior of periodic recordings and extendable recordings to clear entire
history
removed busy-loop recording of stats from worker threads...stats reported only when work is done
2013-05-20 00:01:57 -07:00
Richard Linden 12c34dc30f SH-3931 WIP Interesting: Add graphs to visualize scene load metrics
renamed LLView::handleVisibilityChange to onVisibilityChange to reflect
cleaned up scene monitor stats recording, now all trace stats dumped to csv
also fixed extendablerecording, periodicrecording, etc. to properly implement start/stop/etc
2013-05-16 00:53:01 -07:00
Richard Linden 84af0e9852 SH-4080 WIP interesting: random crash on Mac
potential fix for crasher
cleaned up llsingleton
2013-04-24 14:13:45 -07:00
Richard Linden c673716385 SH-3931 WIP Interesting: Add graphs to visualize scene load metrics
convert scene monitor to use extendable periodic recording
2013-04-23 18:52:34 -07:00
Richard Linden 62c8844414 SH-3931 WIP Interesting: Add graphs to visualize scene load metrics
added ExtendablePeriodicRecording
and ability to append periodic recordings to each other
2013-04-21 23:10:03 -07:00
Richard Linden 07ca6fce7c SH-3931 WIP Interesting: Add graphs to visualize scene load metrics
removed PeriodicRecording::getTotalRecording as it was showing up at the top on the profiler
renamed getPrevRecordingPeriod, etc. to getPrevRecording
2013-04-10 21:51:56 -07:00
Richard Linden 935dce7d6b SH-3931 WIP Interesting: Add graphs to visualize scene load metrics
fixed some compile errors
made label spacing automatic on stat bars
fixed infinite values coming from stats
2013-03-25 00:18:06 -07:00
Richard Linden 368dd542be SH-3931 WIP Interesting: Add graphs to visualize scene load metrics
fix for broken pause button on fast timer view
2013-03-21 19:07:48 -07:00
Richard Linden 1f507c3cfc SH-3931 WIP Interesting: Add graphs to visualize scene load metrics
copied over scene load frame differencing changes from viewer-interesting
made periodicrecording flexible enough to allow for indefinite number of periods
added scene loading stats floater
fixed collapsing behavior of container views
2013-03-21 00:37:20 -07:00
Richard Linden 8de397b19e SH-3931 WIP Interesting: Add graphs to visualize scene load metrics
changed LLCriticalDamp to LLSmoothInterpolation and sped up interpolator lookup
improvements to stats display of llstatbar
added scene load stats floater accessed with ctrl|shift|2
2013-03-18 08:43:03 -07:00
Richard Linden 7b4d27ecbc SH-3931 WIP Interesting: Add graphs to visualize scene load metrics
collapsed Orientation enums to all use LLView::EOrientation
added ability to display stat bar horizontally
2013-03-14 19:36:50 -07:00
Richard Linden 24a1ceb25d separated RecordingBuffers from Recording to make active recording stack more safe 2013-03-11 01:08:51 -07:00
Richard Linden 1a256eca28 renamed some variables/methods in LLTrace to make things clearer 2013-03-11 00:37:50 -07:00
Richard Linden 67ac6e7a29 SH-3275 FIX interesting Update viewer metrics system to be more flexible
streamlined fast timer delta tracking
2013-02-10 23:53:45 -08:00
Richard Linden 2e15e8fd4b SH-3275 FIX interesting Update viewer metrics system to be more flexible
fixed anamolous LLFastTimer timings
2013-02-09 00:34:59 -08:00
Richard Linden 438cbfe489 SH-3275 WIP interesting Update viewer metrics system to be more flexible
fix for timings for recursive fast timers not being correct
2013-02-07 20:07:31 -08:00
Richard Linden eb6c8959ca SH-3275 WIP interesting Update viewer metrics system to be more flexible
fixed most fast timer display and interaction issues
2013-02-02 01:09:52 -08:00
Richard Linden 2c68d5367c SH-3275 WIP interesting Update viewer metrics system to be more flexible
fixed memory leak
fixed glitching of fast timer display
2013-01-27 21:35:20 -08:00
Richard Linden 09ee16c61d SH-3275 WIP interesting Update viewer metrics system to be more flexible
fix for extendablerecording not having right state
2013-01-25 16:15:19 -08:00
Richard Linden 670d03ceb8 SH-3406 WIP convert fast timers to lltrace system
fixed LLExtendableRecording to actually accumulator recording time period
renamed and updated LLStopWatchControlsMixin::initTo to setPlayState
2013-01-15 14:28:32 -08:00
Richard Linden 20b2fa4052 SH-3406 WIP convert fast timers to lltrace system
improved performance of fast timer stat gathering
2013-01-14 23:08:01 -08:00
Richard Linden 7dbb886037 SH-3468 WIP add memory tracking base class
further compile error fixes
2013-01-04 16:19:20 -08:00
Richard Linden 013f04cabe SH-3468 WIP add memory tracking base class
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
2012-12-21 00:13:21 -08:00
Richard Linden c219282f5d SH-3406 WIP convert fast timers to lltrace system
removed some potential data races
got memory stats recording in trace system
2012-12-18 20:07:25 -08:00
Richard Linden 8c2e3bea71 SH-3406 WIP convert fast timers to lltrace system
added ability to query self time of block timers indepedently
2012-12-09 23:19:11 -08:00
Richard Linden 60800dacdd SH-3406 WIP convert fast timers to lltrace system
fixed gcc compile error
made LLCopyOnWritePointer contain an LLPointer, not derive from it
added type trait to control periodicrecording mean value type
2012-12-06 00:37:15 -08:00
Richard Linden 6c7825107f SH-3406 WIP convert fast timers to lltrace system
added copy constructor to periodic recording to allow snapshot generation
in fast timer view
fixed build errors
2012-12-04 19:10:02 -08:00
Richard Linden 407e5013f3 SH-3406 WIP convert fast timers to lltrace system
converted fast timer view over to new lltrace mechanisms
2012-12-03 19:54:53 -08:00
Richard Linden 13e4edf1cd SH-3406 WIP convert fast timers to lltrace system
started moving fast timer historical stats over to LLTrace periodic
recording
2012-12-02 23:00:36 -08:00
Richard Linden ca37317a14 SH-3406 WIP convert fast timers to lltrace system
fixed crash when sending viewer asset stats
2012-11-30 15:48:22 -08:00
Richard Linden 1c894c05c1 SH-3406 WIP convert fast timers to lltrace system
hunting down bad values and crashes
2012-11-27 17:26:12 -08:00
Richard Linden ed17c181dd SH-3499 WIP Ensure asset stats output is correct
further fixes to implicit conversion of unit types
2012-11-07 15:32:12 -08:00
Richard Linden 860ff2f7e2 SH-3499 WIP Ensure asset stats output is correct
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)
2012-11-07 00:38:21 -08:00
Richard Linden 0007114cf5 SH-3499 WIP Ensure asset stats output is correct
fixed copy behavior of recordings and accumulator buffers
2012-11-05 16:10:57 -08:00
Richard Linden bb6bda9eef SH-3499 Ensure asset stats output is correct
added support for specifying predicates for xui and llsd serialization
2012-11-01 19:55:06 -07:00
Richard Linden 74fe126590 SH-3405 FIX convert existing stats to lltrace system
output of floater_stats is now identical to pre-lltrace system (with some tweaks)
2012-11-01 17:52:11 -07:00
Richard Linden 819adb5eb4 SH-3405 FIX convert existing stats to lltrace system
final removal of remaining LLStat code
2012-11-01 00:26:44 -07:00
Richard Linden 041dfccd1e SH-3405 WIP convert existing stats to lltrace system
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
2012-10-12 20:17:52 -07:00
Richard Linden 0f58ca02cd SH-3275 WIP Update viewer metrics system to be more flexible
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
2012-10-12 00:20:19 -07:00
Richard Linden b3107e3764 merge 2012-10-10 20:15:21 -07:00