summaryrefslogtreecommitdiff
path: root/indra/llcommon/lltracerecording.cpp
AgeCommit message (Collapse)Author
2023-08-24SL-18620 Statistics->Advanced->Memory Usage no longer updatingAlexander Gavriliuk
2023-03-02SL-18330: Review and tweak LLTrace::PeriodicRecording indexingNat Goodspeed
per Leviathan code review.
2023-03-01SL-18330: Use size_t max for LLTrace::PeriodicRecording methods.Nat Goodspeed
The num_periods arguments have all been changed to size_t, but the default argument values were still coded as S32_MAX. Change to std::numeric_limits<size_t>::max().
2023-01-07Cleanup for loops in llcommon to use C++11 range based for loopsFawrsk
2022-12-12DRTVWR-565: Merge branch 'origin/contribute' into DRTVWR-565Nat Goodspeed
2022-11-12DRTVWR-575: Address review comments on Xcode 14.1 type tweaks.Nat Goodspeed
Introduce LLSD template constructors and assignment operators to disambiguate construction or assignment from any integer type to Integer, likewise any floating point type to Real. Use new narrow() function to validate conversions. For LLSD method parameters converted from LLSD::Integer to size_t, where the method previously checked for a negative argument, make it now check for size_t converted from negative: in other words, more than S32_MAX. The risk of having a parameter forced from negative to unsigned exceeds the risk of a valid length or index over that max. In lltracerecording.cpp's PeriodicRecording, now that mCurPeriod and mNumRecordedPeriods are size_t instead of S32, defend against subtracting 1 from 0. Use narrow() to validate newly-introduced narrowing conversions. Make llclamp() return the type of the raw input value, even if the types of the boundary values differ. std::ostream::tellp() no longer returns a value we can directly report as a number. Cast to U64.
2022-11-03DRTVWR-575: Fix llcommon assumptions that size_t fits in 4 bytes.Nat Goodspeed
It's a little distressing how often we have historically coded S32 or U32 to pass a length or index. There are more such assumptions in other viewer subdirectories, but this is a start.
2022-07-30SL-17868 Crash at ThreadRecorder::bringUpToDateAndrey Kleshchev
According to bugsplat get_thread_recorder was null Replaced apr based LLThreadLocalPointer with thread_local
2022-01-14SL-16606: Add profiler category STATSPtolemy
2021-11-19SL-16329 - track frame time and jitter (as average deviation frame to frame) ↵Brad Payne (Vir Linden)
in stats window
2021-10-28SL-16148 SL-16244 SL-16270 SL-16253 Remove most BlockTimers, remove ↵Dave Parks
LLMemTracked, introduce alignas, hook most/all reamining allocs, disable synchronous occlusion, and convert frequently accessed LLSingletons to LLSimpleton
2016-06-13MAINT-6366 - diagnostics related to animation asset downloadsBrad Payne (Vir Linden)
2014-02-06added LL_TRACE_ENABLED to allow disabling of lltraceRichard Linden
2014-01-10added some defensive asserts in lltrace to make cases of misuse more obvious ↵Richard Linden
when it crashes
2013-11-15fix for fast timer view having runaway time slotRichard Linden
wasn't stopping recording when merging into fast timer view stream
2013-10-29fixed timer bars not appearing in fast timer viewRichard Linden
fixed "bouncing" stat values when a value ended in zeroes
2013-10-23moved some common functionality from LLTrace::BlockTimerStatHandle to BlockTimerRichard Linden
updates appearance utility dependency
2013-10-21fix for crash when copying trace recordingRichard Linden
2013-10-21fixed things so that trace recordings can be read from even while activeRichard Linden
2013-10-18removed asserts in order to get testable builds againRichard Linden
added unpause() behavior and changed pause() to do nothing when already stopped
2013-10-17fix for assert at runtime (reading stats from recording while it was active)Richard Linden
fix for bad values returns from getPeriodMin and getPeriodMax on count stats when no counts recorded fix for gcc compile time error (typename ftw)
2013-10-15renamed TimeBlock to BlockTimerStatHandleRichard Linden
2013-10-07renamed TraceType to StatTypeRichard Linden
added more MemTrackable types optimized memory usage of LLTrace some more
2013-10-03more memory optimizations of lltraceRichard Linden
2013-10-03added initial memory usage tracking for lltraceRichard Linden
2013-10-01changed over to manual naming of MemTrackable statsRichard Linden
changed claimMem and disclaimMem behavior to not pass through argument added more mem tracking stats to floater_stats
2013-09-27fixed lltrace memory trackingRichard Linden
image memory utilization now always non-negative
2013-09-27BUILDFIX: fix for mac buildsRichard Linden
also, fixed alignment of tick labels on stat bars
2013-09-25better memory usage for LLTrace (tighter packing of recording arrays)Richard Linden
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-24converted memory tracking units to KB from BRichard Linden
added more memory tracking to LLFolderView and kin
2013-09-23refactored lltrace mem tracking to store allocation and deallocation sizesRichard Linden
at the same time and work better with threads
2013-09-19BUILDFIX: more bad merge stuffRichard Linden
also added ability for statbar to show memtrackable info
2013-09-18mergeRichard Linden
2013-08-15moved unit types out of LLUnits namespace, since they are prefixedRichard Linden
2013-08-14BUILDFIX: added header for numeric_limits support on gccRichard Linden
added convenience types for units F32Seconds, etc.
2013-08-12SH-4399 FIX: Interesting: Texture console MB Bound 0/384 and texture queue ↵Richard Linden
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-09SH-4374 FIX Interesting: Statistics Object cache hit rate is always 100%Richard Linden
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-01SH-4374 WIP Interesting: Statistics Object cache hit rate is always 100%Richard Linden
2013-07-19BUILDFIX: #include and dependency cleanupRichard Linden
2013-07-17SH-4299 WIP: Interesting: High fps shown temporarily off scale in statistics ↵Richard Linden
console made unit types work with ostreams fixed timing of scene monitor recordings to better respect requested time diff
2013-07-15SH-4299 FIX: Interesting: High fps shown temporarily off scale in statistics ↵Richard Linden
console timing of scene load recording extension now guaranteed > requested time step removed double add of recorded data removed spam
2013-07-15SH-4299Interesting: High fps shown temporarily off scale in statistics consoleRichard Linden
various fixes to lltrace start() on started recording no longer resets fixed various instances of unit forgetfullness in lltrace recording split now has gapless timing scene monitor now guarantees min sample time renamed a bunch of stats added names to debug thread view on windows
2013-06-28SH-4299 FIX Interesting: High fps shown temporarily off scale in statistics ↵Richard Linden
console added ability to force uniqueness of LLCopyOnWritePointer converted more variables to units added convenience function for unit constants
2013-06-27SH-4299 WIP: Interesting: High fps shown temporarily off scale in statistics ↵Richard Linden
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-22fixed scene load monitor resetting to eagerly due to spurious camer amotionRichard Linden
pulled swap() out of ui time block cleaned up internal lltrace dependencies, factored out common accumulator definitions
2013-06-21mergeRichard Linden
2013-06-21SH-3931 FIX Interesting: Add graphs to visualize scene load metrics - ↵Richard Linden
potential fix for bad times
2013-06-19BUILDFIX: size_t/u32 confusionRichard Linden
2013-06-19SH-3931 WIP Interesting: Add graphs to visualize scene load metricsRichard Linden
scene monitor output is cleaned up, no duplicate first frame, less scientific notation periodic recording extension now works more cleanly
2013-06-18SH-4246 FIX interesting: fast timers significantly decreases framerateRichard Linden
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