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
0bb0bd514b
SH-3499 WIP Ensure asset stats output is correct
...
Finished making LLUnit implicitly convertible to/from scalar integer values
cleaned up test code
2012-11-08 23:42:18 -08:00
Richard Linden
ed17c181dd
SH-3499 WIP Ensure asset stats output is correct
...
further fixes to implicit conversion of unit types
2012-11-07 15:32:12 -08:00
Richard Linden
9d70448a12
SH-3499 WIP Ensure asset stats output is correct
...
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-11-07 00:43:56 -08:00
Richard Linden
860ff2f7e2
SH-3499 WIP Ensure asset stats output is correct
...
fixed trace data gathering and routing from background thread
simplified slave->master thread communication (eliminated redundant recording and proxy object)
improved performance of fast timer data gathering (slow iterators)
2012-11-07 00:38:21 -08:00
Richard Linden
0007114cf5
SH-3499 WIP Ensure asset stats output is correct
...
fixed copy behavior of recordings and accumulator buffers
2012-11-05 16:10:57 -08:00
Richard Linden
f8eaee7531
SH-3499 Ensure asset stats output is correct
...
improvements to predicate API
default rules encapsulated in LLInitParam
removed empty flag from viewer asset stats
2012-11-02 20:03:44 -07:00
Richard Linden
bb6bda9eef
SH-3499 Ensure asset stats output is correct
...
added support for specifying predicates for xui and llsd serialization
2012-11-01 19:55:06 -07: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
3ccbce90e3
Automated merge with ssh://hg.lindenlab.com/richard/viewer-interesting-metrics
2012-11-01 00:32:45 -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
b71e991c18
SH-3405 WIP convert existing stats to lltrace system
...
fixed predicate update logic and reduced to 2 classes
2012-10-29 18:44:37 -07:00
Richard Linden
3ffd0be53a
SH-3405 WIP convert existing stats to lltrace system
...
fixed llpredicate so that values and rules work uniformly with predicate logic
and/or/negate works in parallel with set/clear
2012-10-26 20:03:33 -07:00
Richard Linden
7f97aa2d5d
SH-3405 WIP convert existing stats to lltrace system
...
fixed crash on exit
2012-10-25 17:30:03 -07:00
Richard Linden
1de6ecb238
SH-3405 WIP convert existing stats to lltrace system
...
converted "int" to "S32"
2012-10-23 23:35:15 -07:00
Richard Linden
28179ab007
SH-3405 WIP convert existing stats to lltrace system
...
cleaned up predicate system, made unknown work with remove
2012-10-23 23:12:33 -07:00
Richard Linden
638a16eedd
SH-3405 WIP convert existing stats to lltrace system
...
improved predicate system, added uncertain/unknown predicates
2012-10-23 22:35:47 -07:00
Richard Linden
ae3e4fee37
Automated merge with ssh://hg.lindenlab.com/richard/viewer-interesting
2012-10-22 22:51:28 -07:00
Richard Linden
50ad343366
SH-3405 WIP convert existing stats to lltrace system
...
added return value to serialize function to track if any values were written
2012-10-22 22:46:45 -07:00
Richard Linden
d6634fcd24
SH-3405 WIP convert existing stats to lltrace system
...
sanitized param block code to accept isValid and isProvided at any point
added predicates to control serialization
2012-10-22 19:54:10 -07:00
Richard Linden
534e0ee051
Automated merge with ssh://hg.lindenlab.com/richard/viewer-interesting
2012-10-22 10:42:36 -07:00
Richard Linden
d8a83466de
SH-3405 WIP convert existing stats to lltrace system
...
removed spam and dead code
2012-10-22 10:42:26 -07:00
Richard Linden
bfe85fb24b
SH-3405 WIP convert existing stats to lltrace system
...
fixed build
2012-10-20 10:46:57 -07:00
Richard Linden
b9303e9e80
SH-3405 WIP convert existing stats to lltrace system
...
removed spam and dead code
2012-10-19 19:42:23 -07:00
Richard Linden
176ffa54b4
SH-3405 WIP convert existing stats to lltrace system
...
finished most of conversion of llviewerassetstats
ported some param block fixes from viewer-chui
converted viewer asset stats to param block format
2012-10-19 19:35:01 -07:00
Richard Linden
bd52d784f9
SH-3405 WIP convert existing stats to lltrace system
...
created param block skeleton for asset stats
removed most of llviewerassetstats logic
2012-10-18 23:53:37 -07:00
Richard Linden
1fadd6138e
SH-3405 WIP convert existing stats to lltrace system
...
fixed trace recording on background threads hitting null pointer
2012-10-18 17:32: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
Richard Linden
e6ca5471a2
SH-3275 Update viewer metrics system to be more flexible
...
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-17 00:06:22 -07:00
Richard Linden
8d2f7a5265
SH-3405 WIP convert existing stats to lltrace system
...
converted all remaining LLViewerStats to lltrace
2012-10-15 19:43:35 -07:00
Richard Linden
041dfccd1e
SH-3405 WIP convert existing stats to lltrace system
...
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-12 20:17:52 -07:00
Richard Linden
0f58ca02cd
SH-3275 WIP Update viewer metrics system to be more flexible
...
cleaned up accumulator merging logic
introduced frame recording to LLTrace directly instead of going through LLViewerStats
moved consumer code over to frame recording instead of whatever the current active recording was
2012-10-12 00:20:19 -07:00
Richard Linden
b3107e3764
merge
2012-10-10 20:15:21 -07:00
Richard Linden
74ac0182ec
SH-3405 WIP convert existing stats to lltrace system
...
fixed units conversion so that trace getters return convertable units
removed circular dependencies from lltrace*
converted more stats to lltrace
2012-10-10 19:25:56 -07:00
Richard Linden
05510799e5
SH-3275 WIP Update viewer metrics system to be more flexible
...
renamed mergeSamples to mergeRecording
2012-10-09 22:18:07 -07:00
Richard Linden
8bb0a6ef73
post merge cleanup
2012-10-09 18:07:31 -07:00
Richard Linden
f5852ff448
Automated merge with ssh://hg.lindenlab.com/richard/viewer-interesting
2012-10-09 18:05:32 -07:00
Richard Linden
aff9654c11
SH-3275 WIP Update viewer metrics system to be more flexible
...
added PeriodicRecorder class for frame by frame stats accumulation
2012-10-09 18:02:47 -07:00
Richard Linden
960f8764ad
SH-3405 WIP convert existing stats to lltrace system
...
added update() method to trace recorders to allow mid-collection snapshots
2012-10-05 11:44:36 -07:00
Richard Linden
4dce574a8d
SH-3405 WIP convert existing stats to lltrace system
...
added update() method to trace recorders to allow mid-collection snapshots
2012-10-05 10:51:38 -07:00
Richard Linden
3960fdf9e0
SH-3275 WIP Update viewer metrics system to be more flexible
...
moved threadrecorder classes into separate file
added Count trace type, which tracks value increases and decreases and can report churn
as well as overall growth rate
2012-10-04 23:11:57 -07:00
Richard Linden
8f5e837892
SH-3405 WIP convert existing stats to lltrace system
...
SH-3403 FIX implement unit conversion
LLUnit implements unit tracking and conversion
added support for LLUnit to LLTrace
duplicated most llstats into LLTrace equivalents
2012-10-03 19:32:59 -07:00
Richard Linden
7196619b4a
SH-3275 WIP Update viewer metrics system to be more flexible
...
implemented minimal merging logic
made recordings ligher weight by moving live tracking data into threadrecorder
2012-10-02 17:14:12 -07:00
Richard Linden
dbe9742703
SH-3404 create sampler class
...
renamed LLTrace::ThreadTrace to LLTrace::ThreadRecorder
renamed LLTrace::Sampler to LLTrace::Recording
2012-10-02 15:37:16 -07:00
Richard Linden
14b1b0b2bb
SH-3275 WIP Run viewer metrics for object update messages
...
cleaned up API
samplers are now value types with copy-on-write buffers under the hood
removed coupling with LLThread
2012-10-01 19:39:04 -07:00
Richard Linden
b1baf982b1
SH-3275 WIP Run viewer metrics for object update messages
...
factored out lltrace::sampler into separate file
added rudimentary lltrace support to llstatgraph
made llstatgraph use param blocks more effectively
moves initial set of stats over to lltrace
removed windows.h #defines for min and max
2012-09-30 10:41:29 -07:00
Richard Linden
38354e1906
SH-3275 WIP Run viewer metrics for object update messages
...
created separate constructor for static allocation of sampler buffer
fixed start/stop/resume semantics of samplers and added sampler time interval tracking
2012-09-28 10:45:14 -07:00
Richard Linden
07c4be092b
SH-3275 WIP Run viewer metrics for object update messages
...
slave threads now pushing data to master thread
2012-09-26 19:12:40 -07:00
Richard Linden
05a3203d82
SH-3275 WIP Run viewer metrics for object update messages
...
fixed various issues related to unit tests and LLThreadLocalPtr initialization and teardown
2012-09-26 17:04:57 -07:00
Richard Linden
308ff886c3
fixed build
...
moved LLThread::lockData and unlockData back to header
2012-09-24 19:01:48 -07:00