summaryrefslogtreecommitdiff
path: root/indra/llcommon/llunit.h
AgeCommit message (Collapse)Author
2013-08-19BUILDFIX: removed consideration of some bad overloads in return type evaluationRichard Linden
of unit operators
2013-08-19BUILDFIX: refactored decltype out into traits classRichard Linden
2013-08-19BUILDFIX: fixed several template agument errorsRichard Linden
2013-08-19BUILDFIX: abstracted decltype into macro LLTYPEOF for temporaryRichard Linden
gcc 4.1/4.2 support
2013-08-18SH-4433 WIP: Interesting: Statistics > Ping Sim is always 0 msRichard Linden
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-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-07-31cleanup - renamed valueAs to valueInUnits and made it a symmetrical ↵Richard Linden
getter/setter
2013-07-30Summer cleaning - removed a lot of llcommon dependencies to speed up build timesRichard Linden
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-23renamed mVarianceSum to mSumOfSquares to be more clearRichard Linden
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-19BUILDFIX: #include and dependency cleanupRichard Linden
2013-07-19Automated merge with https://bitbucket.org/lindenlab/viewer-interestingRichard Linden
2013-07-18SH-4297 WIP interesting: viewer-interesting starts loading cached scene lateRichard Linden
dependency cleanup - removed a lot of unecessary includes
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-08SH-4299 WIP: Interesting: High fps shown temporarily off scale in statistics ↵Richard Linden
console added percentage/ratio units added auto-range and auto tick calculation to stat bar to automate display stats
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-19BUILDFIX: changed unsupported static_assert to LL_STATIC_ASSERT.Richard Linden
renamed llstatic_assert_template to LL_BAD_TEMPLATE_INSTANTIATION
2013-06-17SH-3931 WIP Interesting: Add graphs to visualize scene load metricsRichard Linden
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-13SH-3931 WIP Interesting: Add graphs to visualize scene load metricsRichard Linden
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-05BUILDFIX: build fixes for macRichard Linden
2013-06-04SH-3931 WIP Interesting: Add graphs to visualize scene load metricsRichard Linden
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-04BUILDFIX: don't multiple define class statics...use inline static method insteadRichard Linden
2013-06-04SH-3931 WIP Interesting: Add graphs to visualize scene load metricsRichard Linden
added labels to LLUnit types added memstat dumps to llscenemonitor
2013-05-31SH-3931 WIP Interesting: Add graphs to visualize scene load metricsRichard Linden
fixed multithreading lltrace causing values to be interpolated towards 0 added Radians unit improved sceneloadmonitor restart heuristic to use accumulated camera motion
2013-03-21SH-3931 WIP Interesting: Add graphs to visualize scene load metricsRichard Linden
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-02-13SH-3275 FIX interesting Update viewer metrics system to be more flexibleRichard Linden
fix for inaccurate optimization of full block time calculations
2013-01-11SH-3406 WIP convert fast timers to lltrace systemRichard Linden
gcc 4.1 fixes
2013-01-11SH-3406 WIP convert fast timers to lltrace systemRichard Linden
gcc 4.1 fixes
2013-01-11SH-3406 WIP convert fast timers to lltrace systemRichard Linden
gcc 4.1 fixes
2013-01-04More fixes for linux build of lltrace changesAndrew Meadows
2012-12-07SH-3406 WIP convert fast timers to lltrace systemRichard Linden
further fixes for gcc builds
2012-12-07SH-3406 WIP convert fast timers to lltrace systemRichard Linden
improved unit tests for LLUnit renamed LLUnit to LLUnitImplicit with LLUnit being reserved for explicit units
2012-12-06SH-3406 WIP convert fast timers to lltrace systemRichard Linden
added unit tests for LLUnit
2012-12-06SH-3406 WIP convert fast timers to lltrace systemRichard Linden
improved LLUnit compile time errors removed cassert in favor of llstatic_assert
2012-12-03SH-3406 WIP convert fast timers to lltrace systemRichard Linden
converted fast timer view over to new lltrace mechanisms
2012-12-01fix for gcc compile errorsRichard Linden
2012-12-01SH-3406 WIP convert fast timers to lltrace systemRichard Linden
fixed scale of reported times moved reset calls to happen at same time so we don't show partial results
2012-11-20SH-3406 WIP convert fast timers to lltrace systemRichard Linden
fixes to merge
2012-11-14SH-3406 WIP convert fast timers to lltrace systemRichard Linden
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-13SH-3406 WIP convert fast timers to lltrace systemRichard Linden
moving fast timers into lltrace namespace and accumulation system
2012-11-12SH-3406 WIP convert fast timers to lltrace systemRichard Linden
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-08SH-3499 WIP Ensure asset stats output is correctRichard Linden
Finished making LLUnit implicitly convertible to/from scalar integer values cleaned up test code
2012-11-07SH-3499 WIP Ensure asset stats output is correctRichard Linden
further fixes to implicit conversion of unit types
2012-11-07SH-3499 WIP Ensure asset stats output is correctRichard Linden
removed explicit constructor of LLUnit from integral types, as C++ already guarantees that I can't convert from LLUnit<Bytes> to LLUnits<Seconds> (requires 2 user defined conversions). Now this allows seamless replacement of existing integral types with Unit labeled types.
2012-10-17SH-3405 WIP convert existing stats to lltrace systemRichard Linden
started conversion of llviewerassetstats removed old, dead LLViewerStats code made units tracing require units declaration clean up of units handling
2012-10-17SH-3275 Update viewer metrics system to be more flexibleRichard Linden
put template parameter back in LLUnit units added free function operators for mathematical manipulation of unit values converted texture memory tracking to units
2012-10-15SH-3405 WIP convert existing stats to lltrace systemRichard Linden
converted all remaining LLViewerStats to lltrace
2012-10-12SH-3405 WIP convert existing stats to lltrace systemRichard Linden
default to double precision now fixed unit conversion logic for LLUnit renamed LLTrace::Rate to LLTrace::Count and got rid of the old count as it was confusing some const correctness changes
2012-10-10mergeRichard Linden