Commit Graph

95 Commits (680194deaf7a35caaa629abc16e886d71baff636)

Author SHA1 Message Date
Richard Linden ab43be5ddb moved some common functionality from LLTrace::BlockTimerStatHandle to BlockTimer
updates appearance utility dependency
2013-10-23 13:24:47 -07:00
Richard Linden 1beaedacad moved root timer to global variable
added flag to LLInstanceTracker to allow multiple values per key
made StatType allow multiple values per key to eliminate block timer related crash
2013-10-17 14:23:56 -07:00
Richard Linden 1c26d42656 moved tree iterators into llfasttimer.h 2013-10-16 16:42:27 -07:00
Richard Linden 697d2e720b renamed TimeBlock to BlockTimerStatHandle 2013-10-15 20:24:42 -07:00
Richard Linden 17df8988fe renamed TraceType to StatType
added more MemTrackable types
optimized memory usage of LLTrace some more
2013-10-07 13:38:03 -07:00
Richard Linden 053d97db1b better memory usage for LLTrace (tighter packing of recording arrays)
removed complicated and unnecessary fast timer gapless handoff logic (it should be gapless anyway)
improved MemTrackable API, better separation of shadow and footprint
added memory usage stats to floater_stats.xml
2013-09-25 19:12:35 -07:00
Richard Linden c6b6ae7a45 merge 2013-09-07 21:54:03 -07:00
Richard Linden 3fd68662f2 added memory usage and occlusion events to traces
renamed "current" to "primary" when referring to accumulators
2013-09-07 21:16:39 -07:00
Richard Linden cbe397ad13 changed fast timer over to using macro
another attempt to move mem stat into base class
2013-09-05 14:04:13 -07:00
Richard Linden 2c6bc5afa5 SH-4433 WIP Interesting: Statistics > Ping Sim is always 0 ms
made getPrimaryAccumulator return a reference since it was an
always non-null pointer
changed unit conversion to perform lazy division in order to avoid truncation
of timer values
2013-08-21 14:06:57 -07:00
Richard Linden 9f7bfa1c37 moved unit types out of LLUnits namespace, since they are prefixed 2013-08-15 00:02:23 -07:00
Richard Linden 26581404e4 BUILDFIX: added header for numeric_limits support on gcc
added convenience types for units F32Seconds, etc.
2013-08-14 11:51:49 -07:00
Richard Linden 2fc422f39d fixed memory leak due to implementation of LLThreadLocalSingleton
removed LLThreadLocalSingleton
collapsed all thread recorder classes to single type, LLTrace::ThreadRecorder
moved fasttimer stack head to llthreadlocalsingletonpointer via ThreadRecorder
2013-06-30 13:32:34 -07:00
Richard Linden 808d3eff19 SH-4299 WIP: Interesting: High fps shown temporarily off scale in statistics console
fixed some lltrace logic errors
more consistent syncing of timestamps of sample values in recording stack
selection of primary buffers was completely incorrect
assignment of recordings got wrong play state due to implicit
operator = defined in base class
fixed asset stats only working up to the first send
2013-06-27 00:07:21 -07:00
Richard Linden c5fc8f9006 SH-4246 FIX interesting: fast timers significantly decreases framerate
moved collapsed flag to fast timer tree node
2013-06-19 08:23:53 -07:00
Richard Linden d136c4c296 SH-4246 FIX interesting: fast timers significantly decreases framerate
removed implicit flushes on reads from recorders for better performance
made sure stack timers were updated on recorder deactivate
faster rendering and better ui for fast timer view
2013-06-18 23:41:53 -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 0a96b47663 merge with viewer-release 2013-06-05 19:05:43 -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
Oz Linden ddd5659f81 merge changes for DRTVWR-294 2013-04-19 10:11:29 -04:00
Graham Madarasz bf6182daa8 Update Mac and Windows breakpad builds to latest 2013-03-29 07:50:08 -07:00
Richard Linden a6bb68b6e5 SH-3275 FIX interesting Update viewer metrics system to be more flexible
fix for inaccurate optimization of full block time calculations
2013-02-13 15:21:20 -08: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 87f04a6dcc Automated merge with ssh://hg.lindenlab.com/richard/viewer-interesting-metrics 2013-02-08 00:04:20 -08:00
Richard Linden e3700112f3 SH-3275 WIP interesting Update viewer metrics system to be more flexible
added debug output to BlockTimer
2013-02-08 00:03:31 -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
Nyx Linden 438ceeb008 BUILDFIX: merge cleanup
A couple of merge issues that caused the resulting code to not build.
2013-01-25 17:58:11 -05:00
Richard Linden e975ae35ab SH-3406 WIP convert fast timers to lltrace system
fixed crash on startup
2013-01-18 15:59:16 -08:00
Richard Linden 43a92d01af SH-3406 WIP convert fast timers to lltrace system
fixed some uninitialized variables
root timer accumulator was being initialized to NULL
2013-01-17 20:11:43 -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
Andrew Meadows 6e82bb7789 fixing linux compile errors for llcommon after LLTrace work 2013-01-03 22:34:34 +00:00
Richard Linden cda2cdda51 SH-3406 WIP convert fast timers to lltrace system
made fast timer stack thread local
added LLThreadLocalSingleton
made LLThreadLocalPointer obey pointer rules for const
added LLThreadLocalSingletonPointer for fast thread local pointers
2013-01-03 00:30:54 -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 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 02d503bf8f SH-3406 WIP convert fast timers to lltrace system
moved runtime timer tree topology information to separate array instead of recording stack
2012-11-29 00:43:25 -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 c136b43214 SH-3406 WIP convert fast timers to lltrace system
eliminated min and max macros from windows.h
got rest of viewer to compile against llfasttimer changes
2012-11-15 19:46:09 -08:00
Richard Linden 9d77e030d9 SH-3406 WIP convert fast timers to lltrace system
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
2012-11-14 23:52:27 -08:00
Richard Linden 67ec47e6da SH-3406 WIP convert fast timers to lltrace system
moving fast timers into lltrace namespace and accumulation system
2012-11-13 17:10:10 -08:00
Richard Linden c76ed72c60 SH-3406 WIP convert fast timers to lltrace system
removed remnants of LLFastTimer::FrameState
2012-11-12 19:12:20 -08:00
Richard Linden a3e3e8b4cc SH-3406 WIP convert fast timers to lltrace 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
2012-11-12 19:08:14 -08:00
Richard Linden 6814906fec SH-3275 WIP Run viewer metrics for object update messages
build fix
2012-09-05 18:54:26 -07:00
Richard Linden 62fcbb063a SH-3275 WIP Run viewer metrics for object update messages
first pass at LLTrace framework
2012-09-05 18:49:28 -07:00
Richard Linden c74d9f83a2 Merge 2012-08-30 18:39:59 -07:00
Richard Linden afc2807302 MAINT-1486 FIX Crash on login (Unhandled exception)
cleaner implementation of llfasttimers...don't bother to share similarly named timers
just create multiple timers with same name...doesn't break anything
2012-08-30 18:35:29 -07:00
Richard Linden 64201b21b3 MAINT-1486 FIX Crash on login (Unhandled exception)
allow duplicate named fast timers again, refactored timer code
2012-08-30 16:46:37 -07:00
Richard Linden a98c7e150b llfasttimer cleanup
removed unnecessary cache miss from fast timers
renamed llfasttimer_class back to llfasttimer
2012-08-06 16:08:04 -07:00