Aura Linden
2121ffcdab
Fixed assert in llmemory.h for adjacent memory locations.
2014-07-11 16:46:18 -07:00
Richard Linden
a8192fbf60
accidentally left _CrtCheckMemory defined in non-Windows builds
2014-02-06 13:14:40 -08:00
Richard Linden
3040b429a3
added LL_TRACE_ENABLED to allow disabling of lltrace
2014-02-06 11:27:16 -08:00
Richard Linden
1acceb3633
changed ll_aligned_(malloc|free) to take alignment size as a template argument
2013-10-14 10:18:41 -07:00
Richard Linden
80dfbbaacd
merge from viewer-release
2013-10-08 11:59:24 -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
053d97db1b
better memory usage for LLTrace (tighter packing of recording arrays)
...
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-25 19:12:35 -07:00
Richard Linden
a7aed07a5b
broke out llunit.h into llunittype.h and llunits.h for unit declarations
...
changed unit declarations macros to make a lot more sense
2013-08-27 13:41:19 -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
25937040de
SH-4433 WIP: Interesting: Statistics > Ping Sim is always 0 ms
...
converted many values over to units system in effort to track down
source of 0 ping
2013-08-16 12:38:12 -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
0a96b47663
merge with viewer-release
2013-06-05 19:05:43 -07:00
simon
ee2fce8790
Merge downstream code and viewer-beta
2013-05-09 14:10:45 -07:00
Graham Madarasz
bf6182daa8
Update Mac and Windows breakpad builds to latest
2013-03-29 07:50:08 -07:00
Graham Madarasz (Graham Linden)
ebb57d28ef
Resurrect merge victim...restoring ll_memcpy_nonaliased_aligned_16 definition
2013-03-13 16:40:06 -07:00
Graham Madarasz (Graham Linden)
9a811855b9
Merge
2013-03-13 16:16:17 -07:00
Graham Madarasz (Graham Linden)
bba84a3fa9
Cleanup per code review of prev change with DaveP
2013-03-13 13:38:30 -07:00
Graham Madarasz (Graham Linden)
5d2fea6262
Move fast memcpy to llcommon and use it in llalignedarray pushback on all platforms. Code Review: DaveP
2013-03-13 10:42:40 -07:00
Graham Madarasz
6613d80d72
Clean up moving llalignedarray and fast memcpy to llcommon
2013-03-11 14:19:05 -07:00
Graham Madarasz
6ac6736994
Move 16b aligned memcpy and alignment utilities to llmem in llcommon for easier use elsewhere
2013-03-11 16:00:25 -07:00
Dave Parks
609ed855e1
MAINT-2371 More optimizations.
...
Reviewed by Graham
2013-03-04 18:01:42 -06:00
Richard Linden
1a888f786c
SH-3468 WIP add memory tracking base class
...
made LLTrace::MemTrackable support custom alignment
LLDrawable now uses MemTrackable new and delete operators
2013-01-09 23:05:07 -08:00
Richard Linden
b2197101c4
SH-3468 WIP add memory tracking base class
...
fix for compile error on windows
ignore stdint.h even though VS2010 provides it
2013-01-04 13:04:09 -08:00
Andrew Meadows
6e82bb7789
fixing linux compile errors for llcommon after LLTrace work
2013-01-03 22:34:34 +00:00
Richard Linden
5d51175cd7
SH-3406 WIP convert fast timers to lltrace system
...
fixes to merge
2012-11-20 15:55:04 -08:00
Richard Linden
c0224cc47a
merge with viewer-development
2012-11-19 19:06:36 -08:00
Dave Parks
c431ddf629
Automated merge with http://bitbucket.org/lindenlab/viewer-development
2012-11-08 13:05:29 -06:00
William Todd Stinson
11017315e6
MAINT-1753: Correcting behavior of ll_aligned_realloc_16() on Linux to avoid memory corruption in the case that the new memory size requested is smaller than the old memory size. Also, adding check to ensure that the aligned malloc returns a non-null value before memcopying.
2012-10-18 17:36:57 -07:00
simon@Simon-PC.lindenlab.com
d6e3b0445a
Merge in viewer-development code and fix build
2012-10-15 14:23:29 -07:00
Oz Linden
07899b2820
merge changes for DRTVWR-222
2012-10-04 20:12:51 -04:00
Dave Parks
05dbd7dafe
Instrument debug builds on windows to help track down source of heap corruption
2012-10-02 16:06:14 -05:00
Richard Linden
735fde8c74
SH-3275 WIP Run viewer metrics for object update messages
...
added LLThreadLocalPtr
broke llmutex out into llmutex.h
got primary sampling buffer under thread local storage
2012-09-21 18:52:08 -07:00
Dave Parks
9ec263d2f1
MAINT-1503 Minimal set of changes needed to safely disable tcmalloc
2012-09-12 15:44:36 -05:00
Oz Linden
97d969a338
initial attempt to restore changes that make removing tcmalloc possible; not tested
2012-09-12 14:36:37 -04:00
Dave Parks
7b6e81ab03
Handle the NULL case on ll_aligned_realloc_16 on linux
2012-09-12 11:46:43 -05:00
William Todd Stinson
a766e26db4
Backing out the changes contributing to DRTVWR-167 and DRTVWR-179 from the repository.
2012-09-10 10:37:02 -07:00
Dave Parks
3db0992871
MAINT-1503 Fix for linux build
2012-09-07 12:15:19 -05:00
Dave Parks
980d5a7555
MAINT-1503 Fix for ll_aligned_realloc returning non-aligned pointers on linux
2012-08-31 16:30:58 -05:00
Dave Parks
d81d0433a5
MAINT-1503 Fix for ll_aligned_realloc returning non-aligned pointers on linux
2012-08-31 15:27:38 -05:00
William Todd Stinson
e4db676717
Re-enabling tcmalloc in the build.
2012-09-28 12:06:46 -07:00
simon@Simon-PC.lindenlab.com
173d0fa213
Pull in viewer-development because it's painful. Merge with runitai's help.
2012-07-11 16:15:23 -07:00
simon@Simon-PC.lindenlab.com
b7555a3309
Merge back viewer-lion, which has viewer-development and down-stream fixes
2012-08-01 14:07:24 -07:00
Dave Parks
4a5ad35793
MAINT-570 Remove unused memory tracking system LLMemType
2012-07-20 11:42:15 -05:00
Brad Payne (Vir Linden)
60a9c8d7ab
Fixes for alignment tests with tcmalloc
2012-01-11 15:59:34 -05:00
Brad Payne (Vir Linden)
1435a8b9e6
SH-2789 WIP - stricter calling of memcpyNonAliased16
2012-01-04 15:21:23 -05:00
Brad Payne (Vir Linden)
c8682722ad
SH-2789 WIP - aligned alloc and realloc
2011-12-21 17:02:47 -05:00
Brad Payne (Vir Linden)
9c2e0d84f8
SH-2789 WIP - various fixes to force 16-byte alignment
2011-12-19 18:17:18 -05:00
Brad Payne (Vir Linden)
e68d5e248f
SH-2789 WIP - add asserts to check object address alignment where needed
2011-12-14 16:18:19 -05:00
Brad Payne (Vir Linden)
51c7887f8d
merge
2011-10-31 11:35:22 -04:00
Xiaohong Bao
0637fe27bc
fix for SH-2624: crash at LLPrivateMemoryPoolManager::freeMem: ASSERT (!addr)
2011-10-25 22:53:40 -06:00