Commit Graph

206 Commits (95e44923920fbd57eaeec50ae696aee80405b457)

Author SHA1 Message Date
Ansariel 0c7abda3c8 Merge bento-box 2016-09-14 23:25:42 +02:00
Brad Payne (Vir Linden) d07a8b9965 SL-124 - small comment cleanups 2016-09-02 08:41:22 -04:00
Ansariel 4acba68785 Merge bento-box 2016-08-11 00:16:36 +02:00
Brad Payne (Vir Linden) e0c2a4ac33 SL-126 - getting performance analysis into a non-crashing state 2016-07-15 10:52:29 -04:00
Ansariel 3192fe832f Merge viewer-quickgraphics 2016-03-08 01:41:31 +01:00
Oz Linden c8726aba30 remove execute permission from many files that should not have it 2015-11-10 09:48:56 -05:00
Ansariel 19b1b5492b Since I don't trust LL's arithmetics, better check for <> 0 here... 2015-07-31 17:15:57 +02:00
Ansariel c25b398323 Added sanity checks for index out of range exceptions in fasttimer view - maybe it helps... 2015-07-21 12:31:47 +02:00
Nicky 006190f2a1 Merge with tools update. 2015-05-05 13:09:27 +02:00
callum_linden 23711c9275 Rename llround(..) to ll_round(..) because of a collision with MS llround (long long round) in VS2013 2014-12-10 08:44:08 -08:00
Ansariel 7976d9e000 FIRE-15356: Crash fix in fast timers: mTimeBlock might be null 2015-01-21 13:52:46 +01:00
Ansariel 4ab7c54e44 Use Drake Arconis' memory fix for the fasttimer console - maybe this helps with some random rare crashes still happening 2015-01-10 15:45:17 +01:00
callum_linden bdce32a02b Update to build on Xcode 6.0: collection of removal of unused variables [-Wunused-variable] 2014-10-18 11:56:23 -07:00
Ansariel a18f9c1b38 FIRE-14600: Proposed fix for crash in fasttimer view: mBars might be null 2014-11-14 23:15:46 +01:00
Nicky 4cd8c24d07 Stop leaking insane amounts of memory in llfasttimerview. 2014-09-04 00:57:32 +02:00
Liny f4e6f5a90f Making the ledgend part of fast timers scrollable again after viewer-interesting merge 2014-06-29 18:56:34 -07:00
Nicky 91a67f3c6b User proper float type for initialization. 2014-06-10 23:31:22 +02:00
Richard Linden 6ddfc8031c BUILDFIX - miscellaneous stuff missed in the merge 2013-11-12 11:42:06 -08:00
Richard Linden 17e9c872ad Automated merge with http://bitbucket.org/lindenlab/viewer-release 2013-11-11 19:17:49 -08:00
Richard Linden 237627181d always dump entire fast timer log on right click...not just visible timers 2013-10-29 19:05:28 -07:00
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 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 f8a85003dd more memory optimizations of lltrace 2013-10-03 19:04:51 -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 9c256611f1 BUILDFIX: removed consideration of some bad overloads in return type evaluation
of unit operators
2013-08-19 16:05:03 -07:00
Richard Linden 612892b45a SH-4433 WIP: Interesting: Statistics > Ping Sim is always 0 ms
continued conversion to units system
made units perform type promotion correctly and preserve type in arithmetic
e.g. can now do LLVector3 in units
added typedefs for remaining common unit types, including implicits
2013-08-18 22:30:27 -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
dmitrykproductengine a6c4863a6a Build fix after patch for MAINT-3137 2013-09-13 13:11:41 +03:00
Richard Linden e340009fc5 second phase summer cleaning
replace llinfos, lldebugs, etc with new LL_INFOS(), LL_DEBUGS(), etc.
2013-08-09 17:11:19 -07:00
Richard Linden bd5808765f cleanup - renamed valueAs to valueInUnits and made it a symmetrical getter/setter 2013-07-31 19:32:50 -07:00
Richard Linden 50c472c242 renamed mVarianceSum to mSumOfSquares to be more clear
fixed normalization assertions to work with megaprims
added is_zero() utility function
fixed unit declarations to be more clear
fixed texture cache hit rate always being 0
2013-07-23 18:47:16 -07:00
Richard Linden 04bdc8ba83 SH-4294 FIX Interesting: Statistics Texture cache hit rate is always 0%
also, removed LLTrace::init and cleanup
removed derived class implementation of memory stat for LLMemTrackable
is automatic now
2013-07-01 17:04:01 -07:00
Richard Linden ffa7123bb5 SH-4299 FIX Interesting: High fps shown temporarily off scale in statistics console
added ability to force uniqueness of LLCopyOnWritePointer
converted more variables to units
added convenience function for unit constants
2013-06-28 20:45:20 -07:00
Richard Linden a2a6bf20d7 merge with release 2013-06-20 16:46:23 -07:00
Richard Linden ba9bffd019 BUILDFIX: forgot a file 2013-06-19 20:39:59 -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 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 0a96b47663 merge with viewer-release 2013-06-05 19:05:43 -07:00
Richard Linden fbce003049 SH-3931 WIP Interesting: Add graphs to visualize scene load metrics
killed LLFastTimerView::getTime
fixed block time stats always being 0
2013-05-20 12:47:23 -07:00
simon ee2fce8790 Merge downstream code and viewer-beta 2013-05-09 14:10:45 -07:00
Oz Linden ddd5659f81 merge changes for DRTVWR-294 2013-04-19 10:11:29 -04:00
simon b42b789723 Merge in downstream code (chui fixes, materials) 2013-04-11 16:18:34 -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
Graham Madarasz bf6182daa8 Update Mac and Windows breakpad builds to latest 2013-03-29 07:50:08 -07:00
Richard Linden 68f9f656cd merge with viewer-release 2013-03-22 00:44:59 -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
Graham Madarasz (Graham Linden) e8dfa28697 Rollback Maestro interp changes 2013-03-14 14:12:26 -07:00
Graham Madarasz (Graham) f061b2b90e Optimize interp code to elim hundreds of divides per frame and fix jitter bugs. 2013-03-08 15:31:37 -08:00
Don Kjer 54cdc322b8 Fixing issues with not detecting when LLSD XML parsing fails. Changing most http error handlers to understand LLSD error responses. Fleshing out most http error handler message spam. 2013-03-05 22:05:22 -08:00
Dave Parks 609ed855e1 MAINT-2371 More optimizations.
Reviewed by Graham
2013-03-04 18:01:42 -06: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 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 b49cdb1c7a SH-3275 WIP interesting Update viewer metrics system to be more flexible
quantized fast timer range to nearest 20ms for easier reading
2013-02-05 11:31:45 -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 a441664c10 SH-3275 WIP interesting Update viewer metrics system to be more flexible
fast timer bars render correctly
2013-01-31 00:50:54 -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 3a555a2ff8 SH-3275 WIP interesting Update viewer metrics system to be more flexible
removed LLFastTimerView::getFrameTimer()
dead code elimination
fixed off by one array access crash
2013-01-24 19:53:17 -08:00
Nyx Linden 11fe124ae9 merging in viewer-beta.
Most of the merge was clean, a couple conflicts.
Brought over a couple patches manually for llpolymesh.
2013-01-24 16:22:49 -05:00
Richard Linden 096b2738c2 SH-3275 WIP interesting Update viewer metrics system to be more flexible
clean up LLFastTimerView so it can be converted to handling LLTrace data
2013-01-24 01:18:49 -08:00
Richard Linden 44cc14fbee fix for mac builds 2013-01-11 13:11:07 -08:00
Andrew Meadows 27bec2b2f2 yet more gcc fixes 2013-01-10 05:06:11 +00:00
Andrew Meadows 90b5937c74 gcc fixes 2013-01-10 04:19:16 +00: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 c99886d943 SH-3406 WIP convert fast timers to lltrace system
improved unit tests for LLUnit
renamed LLUnit to LLUnitImplicit with LLUnit being reserved for
explicit units
2012-12-07 15:20:12 -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 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 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 819adb5eb4 SH-3405 FIX convert existing stats to lltrace system
final removal of remaining LLStat code
2012-11-01 00:26:44 -07:00
Don Kjer c06c35609c Updating linux build to gcc4.6 2012-10-11 00:09:04 +00: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 a98c7e150b llfasttimer cleanup
removed unnecessary cache miss from fast timers
renamed llfasttimer_class back to llfasttimer
2012-08-06 16:08:04 -07:00
Richard Linden 5564fcb271 SH-3275 WIP Run viewer metrics for object update messages
clean up of llstats stuff
2012-07-16 19:15:46 -07:00
Richard Linden c47c31fdbf EXP-1513 FIX Underscore ( _ ) fails to show in first chat entry in Local Chat 2012-01-31 17:51:43 -08:00
Richard Linden 9cb157dde0 EXP-1654 FIX fast timers does not show entire frame when Full bar = Max 2011-12-02 11:02:26 -08:00
Dave Parks bd02cdc75f merge 2011-09-26 19:27:10 -05:00
Dave Parks 7c95af74f1 SH-2243 work in progress -- application side matrix stack management 2011-09-14 16:30:45 -05:00
Richard Nelson 8b7c07651c improved fast timers display
can move and resize
better visualization of timer history
can click drag to browse history
increased frame history to 300
2011-09-14 10:50:32 -07:00
Richard Linden 34b4b3d139 fix for tooltips on fast timer debug view not always updating 2011-08-16 16:13:59 -07:00
Dave Parks 764412f9b5 merge 2011-04-22 11:50:19 -05:00
Merov Linden cb0dcc204d STORM-987 : Add --logmetrics and --analyzeperformance arguments, moved analyzeMetricPerformanceLog() and doAnalysisMetrics() from LLFastTimerView to LLMetricPerformanceTesterBasic 2011-03-08 23:44:00 -08:00
Dave Parks f90eb750f1 SH-1292 Remove outliers from graphs in scene console to make a more useful view. 2011-04-07 00:29:02 -05:00
Loren Shih 690105630e Automated merge up from viewer-development into mesh-development 2011-03-28 10:26:00 -04:00
Loren Shih bfd8efb057 Automated merge up from viewer-development 2010-12-01 10:55:24 -05:00
Brad Payne (Vir Linden) 853e90ea80 removed unused variable 2010-11-08 10:37:58 -05:00
Merov Linden 85509457c6 STORM-105 : Take Vadim code review into account, code clean up 2010-11-05 18:40:08 -07:00
Nyx Linden 3d41e67d7b BUILDFIX: commented out unused variable which breaks the mac build. 2010-11-05 18:51:43 -04:00
Brad Payne (Vir Linden) ddff1c68f2 additional analysis for --analyzeperformance option 2010-11-05 16:17:24 -04:00
Merov Linden 40979589af STORM-105 : improve decompression perf gathering, allow perf name to be passed on the command line, fix crash in analysis phase 2010-10-27 23:15:22 -07:00
Oz Linden a5619d16f7 correct licenses (fix problem with license change merge) 2010-10-13 07:24:37 -04:00