Commit Graph

59 Commits (b8d49dab9afddf196618d66b1a409cdf7d2d53ba)

Author SHA1 Message Date
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 8d3daa141e SH-4374 FIX Interesting: Statistics Object cache hit rate is always 100%
moved object cache sampling code so that it actually gets executed
default values for stats are NaN instead of 0 in many cases
2013-08-09 16:14: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 e40065f82c BUILDFIX: #include and dependency cleanup 2013-07-19 15:03:05 -07:00
Richard Linden 862cdf3061 SH-4297 WIP interesting: viewer-interesting starts loading cached scene late
fixed ostream precision munging in llsys
2013-07-18 15:08:46 -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 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 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 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 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
Graham Madarasz 025c890958 Merge vwr-dev-mat 2013-05-01 08:11:15 -07:00
Graham Madarasz 806d09b114 Merge 3.5.1 into Materials 2013-04-30 19:50:05 -07:00
Oz Linden ddd5659f81 merge changes for DRTVWR-294 2013-04-19 10:11:29 -04:00
Richard Linden 2436bd9487 Automated merge with ssh://hg.lindenlab.com/richard/viewer-interesting-metrics 2013-04-11 19:17:55 -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 cd46f3d08c BUILDFIX gcc fix 2013-03-25 20:21:04 -07:00
Richard Linden 68f9f656cd merge with viewer-release 2013-03-22 00:44:59 -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
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
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 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
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
Richard Linden cf8fa1a958 SH-3468 WIP add memory tracking base class
further compile error fixes
2013-01-04 15:57:28 -08: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 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 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 ca2207bd35 SH-3406 WIP convert fast timers to lltrace system
fixed scale of reported times
moved reset calls to happen at same time so we don't show partial results
2012-12-01 00:17:04 -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 0e1283cf6d Automated merge with ssh://hg.lindenlab.com/richard/viewer-interesting-metrics 2012-11-27 20:19:10 -08:00
Richard Linden 93aca485ba SH-3406 WIP convert fast timers to lltrace system
fixed precision of fast timer counts
2012-11-27 20:17:37 -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 6db6cb39f4 SH-3406 WIP convert fast timers to lltrace system
got new fast timer code to compile and run
2012-11-16 23:02:53 -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