summaryrefslogtreecommitdiff
path: root/indra/llcommon
AgeCommit message (Collapse)Author
2011-07-07CHOP-753: uh, Microsoft docs lied about header file to use?Nat Goodspeed
Remove <kfuncs.h>, documented header file for GetCurrentProcess().
2011-07-07CHOP-753: add stats from GetProcessMemoryInfo() on Windows.Nat Goodspeed
Introduce StatsArray helper class to facilitate accumulating stats in the array-of-pair-arrays form cached internally by LLMemoryInfo.
2011-07-06Automated merge with http://hg.secondlife.com/viewer-developmentNat Goodspeed
2011-07-05CHOP-753: On Windows, add GetPerformanceInfo to LLMemoryInfo stats.Nat Goodspeed
So far we've only been querying GlobalMemoryStatusEx(), but GetPerformanceInfo() delivers a bunch more memory-related stats that may be pertinent. Try capturing those too. May not yet compile on Windows...
2011-06-30CHOP-753: Fix compile errors in LLMemoryInfo Windows-specific code.Nat Goodspeed
2011-06-30CHOP-753: Reduce redundancy in LLMemoryInfo.Nat Goodspeed
Recast stream() to display data from LLSD array rather than reinvoking OS operations used to capture it. Make refresh() cache LLSD data in map form as well as array; fetch items from that in a few places to avoid going back to OS.
2011-06-30CHOP-753: Fix errors in LLMemoryInfo Mac-specific code.Nat Goodspeed
Handle conversion errors (boost::bad_lexical_cast). Glean additional LLSD statistics from vm_stat output.
2011-06-29CHOP-753: fix minor compilation errors on LinuxNat Goodspeed
2011-06-29CHOP-753: Introduce LLSD access to LLMemoryInfo ** BROKEN **Nat Goodspeed
This is known not to compile on Mac yet; checking in to concurrently work on Linux-specific code.
2011-06-28CHOP-753: Report Linux memory stats 1/line, like other platforms.Nat Goodspeed
Previous code deliberately flowed the different lines from MEMINFO_FILE together on a single line, which seems pointless to me, since we want to be able to grep the viewer log to recognize individual stats. Also replace classic-C LLFILE* machinery used to read MEMINFO_FILE with std::ifstream and std::getline().
2011-06-28CHOP-753: Introduce a sliding window of framerate samples.Nat Goodspeed
The trouble with remembering the slowest-ever framerate is that framerate drops dramatically on login, then typically bounces back to something reasonable during the session. So the session-normal framerate has to drop pretty dramatically before it falls below the original login framerate. To address this, only remember the last ~10 minutes of framerates, and log memory stats every time a new framerate is slower than the previous 10 minutes.
2011-06-28CHOP-753: suppress VS fatal warning 4355Nat Goodspeed
2011-06-28CHOP-753: Log LLMemoryInfo whenever framerate hits a new low.Nat Goodspeed
Introduce FrameWatcher, a static object that hooks into the LLEventPump named "mainloop" to get a call every frame. Track framerate over a defined sample time (20 seconds atm); track minimum and log LLMemoryInfo every time we hit a new minimum.
2011-06-27fixed basic root folder entry to match 8 character limitRichard Linden
2011-06-27mergeRichard Linden
2011-06-27preemptively adding folder type for basic inventory so we can update sim ↵Richard Linden
code to match
2011-06-27increment viewer version to 2.7.6Oz Linden
2011-06-24CHOP-753: add timestamp and <mem> marker to memory stats log linesNat Goodspeed
2011-06-23Log enriched memory info for Mac too.Nat Goodspeed
Add Mac logic to LLMemoryInfo::stream(): run vm_stat and log its output. Add comments with Mac and Linux suggestions to LLMemoryInfo::getAvailableMemoryKB(), responding to comment: //do not know how to collect available memory info for other systems.
2011-06-23Automated merge with http://hg.secondlife.com/viewer-developmentRichard Linden
2011-06-20increment viewer version to 2.7.5Oz Linden
2011-06-14mergeBrad Payne (Vir Linden)
2011-06-13increment viewer version to 2.7.4Oz Linden
2011-06-09mergeBrad Payne (Vir Linden)
2011-06-08Merge from viewer-experienceLeslie Linden
2011-06-07merge changes for storm-1258Oz Linden
2011-06-07mergeDave Parks
2011-06-06increment development viewer version to 2.7.3Oz Linden
2011-06-04correct license headersOz Linden
2011-06-01merge changes for storm-1299Oz Linden
2011-05-30Adding the outboxLeyla Farazha
2011-05-27increment viewer version to 2.7.2Oz Linden
2011-05-27merge changes for storm-1210Oz Linden
2011-05-25SH-1603 Replace every occurrence of "WTF" with something more appropriate.Dave Parks
2011-05-25Sh-1647: Accounting caps updateprep
2011-05-25automated merge mesh-development -> mesh-developmentLoren Shih
2011-05-24MergeDave SIMmONs
2011-05-24Added badges version 0.1 to buttons.Leslie Linden
Reviewed by Richard
2011-05-23increment viewer version to 2.7.1Oz Linden
2011-05-20SH-1252 and SH-1253 WIP.prep linden
2011-05-19increment viewer version to 2.7.0Oz Linden
2011-05-17Merge with viewer-development (mesh)Don Kjer
2011-05-17Merge with viewer-developmentDon Kjer
2011-05-16Correctly identify Server 2008, Server 2008 R2, Server 2012, and Windows 8Tank_Master
2011-05-16mergeDave Parks
2011-05-12mergeDave Parks
2011-05-12Fix up alignment problems for debug build.brad kittenbrink
reviewed by davep.
2011-05-12mergeDave Parks
2011-05-09Merge.brad kittenbrink
2011-05-09increment viewer version to 2.6.9Oz Linden