Commit Graph

60 Commits (c8ee05a2712e56a7cdcb2b9e25c8b092c088d4d4)

Author SHA1 Message Date
Brad Payne (Vir Linden) 730b8427b5 SL-16329 - track frame time and jitter (as average deviation frame to frame) in stats window 2021-11-19 14:43:19 -05:00
Nat Goodspeed 2cb09dd4a8 SL-16024: Return shared_ptr from LLInstanceTracker::getInstance().
It feels wrong to return a dumb LLInstanceTracker subclass* from getInstance()
when we use std::shared_ptr and std::weak_ptr internally. But tweak consumers
to use 'auto' or LLInstanceTracker::ptr_t in case we later revisit this
decision.

We did add a couple get() calls where it's important to obtain a dumb pointer.
2021-10-07 11:53:45 -04:00
Jonathan Yap bedbb65b33 STORM-2104 Statistics floaters adjustments 2015-02-12 14:10:20 -05:00
Oz Linden c8726aba30 remove execute permission from many files that should not have it 2015-11-10 09:48:56 -05:00
Oz Linden 6f3cf79a3a merge changes for 3.7.24-release 2015-01-13 13:46:45 -05: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
andreykproductengine af6e0afac8 MAINT-4368 FIXED Statistics floater - Object Cache Hit Rate, Cache Hit Rate and Cache Read latency graphs display incorrectly 2014-08-27 18:53:23 +03:00
Richard Linden 391ac367d6 SH-4634 FIX Interesting: Viewer crashes when receiving teleport offer
renamed fast timers to have unique names, changes instance tracker to never allow duplicates
2013-11-19 17:40:44 -08:00
Richard Linden ea2494a083 stats now autoscale back down in range, instead of sticking at high water mark 2013-10-30 00:37:11 -07:00
Richard Linden 155ca2f926 fixed timer bars not appearing in fast timer view
fixed "bouncing" stat values when a value ended in zeroes
2013-10-29 16:23:53 -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 e0a443f5a6 BUILDFIX: fix for mac builds
also, fixed alignment of tick labels on stat bars
2013-09-27 11:18:39 -07:00
Richard Linden 4db06820f0 fix for display of joystick statbar monitors 2013-09-26 11:34:07 -07:00
Richard Linden 05ec5ca3d5 BUILDFIX: forgot forward declaration
better overrides for memclaim and memdisclaim of sizes
added occlusion stats to stats floater
stats now render range instead of mean
2013-09-19 20:05:53 -07:00
Richard Linden 6c856aba6b line endings fix 2013-09-19 15:23:17 -07:00
Richard Linden 0dfc08d22a BUILDFIX: more bad merge stuff
also added ability for statbar to show memtrackable info
2013-09-19 15:21:46 -07:00
Richard Linden 662d6a1771 added compile time warnings to use of deprecated llinfos, llwarns, etc. 2013-08-26 10:51:08 -07:00
Richard Linden cf014375b8 SH-4433 FIX: Interesting: Statistics > Ping Sim is always 0 ms
removed bad assert
fixed precision issues during int->unsigned int conversions and vice
versa
2013-08-22 14:21:16 -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 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
Richard Linden 9faaa28f44 SH-4346 FIX Interesting: some integer Statistics are displayed as floating point after crossing region boundary
fine-tuned heuristics for switching between mean and current values in stat bar display
added comments to LLUnits unit test
2013-08-13 18:33:07 -07:00
Richard Linden cc31b4ae79 SH-4399 FIX: Interesting: Texture console MB Bound 0/384 and texture queue bounces once per second
SH-4346 FIX: Interesting: some integer Statistics are displayed as floating point after crossing region boundary
made llerrs/infos/etc properly variadic wrt tags
LL_INFOS("A", "B", "C") works, for example
fixed unit tests
remove llsimplestat
2013-08-12 20:05:16 -07:00
Richard Linden f58eb60b1e SH-4374 WIP Interesting: Statistics Object cache hit rate is always 100% 2013-08-01 08:17:21 -07:00
Richard Linden a2e22732f1 Summer cleaning - removed a lot of llcommon dependencies to speed up build times
consolidated most indra-specific constants in llcommon under indra_constants.h
fixed issues with operations on mixed unit types (implicit and explicit)
made LL_INFOS() style macros variadic in order to subsume other logging methods
such as ll_infos
added optional tag output to error recorders
2013-07-30 19:13:45 -07:00
Richard Linden 1e8f9fd80d SH-4376 FIX: Interesting: in Statistics, replace the text "0" with "n/a" when
there are no samples during the time period.
added hasValue to SampleAccumulator so we don't print a value when we don't have
a single sample yet
added some disabled log output for scene load timing
2013-07-24 19:36:43 -07:00
Richard Linden d9b8544fd4 SH-4366 FIX: Interesting Viewer Crashes when opening Statistics floater 2013-07-23 17:30:56 -07:00
Richard Linden 0127e66228 stat bars with no stats now show n/a instead of o 2013-07-23 16:42:22 -07:00
Richard Linden c2a456e9f2 BUILDFIX: remove ambiguity of is_approx_equal, use llabs instead of fabs 2013-07-15 11:41:47 -07:00
Richard Linden c95042db3e SH-4299 WIP: Interesting: High fps shown temporarily off scale in statistics console
improved calculation of display range for stat bars
2013-07-12 00:52:31 -07:00
Richard Linden d122318bef SH-4299 WIP: Interesting: High fps shown temporarily off scale in statistics console
added percentage/ratio units
added auto-range and auto tick calculation to stat bar to automate display stats
2013-07-08 00:55:17 -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 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 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 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 1459a412b9 Automated merge with ssh://hg.lindenlab.com/richard/viewer-interesting 2013-04-11 19:18:55 -07:00
Richard Linden bdc6d58b7e SH-3931 WIP Interesting: Add graphs to visualize scene load metrics
added ability to query periodic timer for specific number of periods
used that to do smaller time averaged window for camera speed
2013-04-11 19:12:27 -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 faebbb23f8 BUILDFIX: gcc error about type conversion 2013-04-10 15:31:44 -07:00
Graham Madarasz bf6182daa8 Update Mac and Windows breakpad builds to latest 2013-03-29 07:50:08 -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 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 f07b9c2c69 renamed LLTrace stat gathering classes/methods to make the structure of LLTrace clearer
Count becomes CountStatHandle
Count.sum becomes sum(Count, value), etc.
2013-03-06 11:08:25 -08: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 a52d203a4f SH-3405 WIP convert existing stats to lltrace system
started conversion of llviewerassetstats
removed old, dead LLViewerStats code
made units tracing require units declaration
clean up of units handling
2012-10-17 20:00:07 -07:00