Age | Commit message (Collapse) | Author |
|
In the viewer, the region's UUID is acquired very late and isn't generally
used as the canonical region identifier. The U64 region hash is a better
and more consistently used identifier so I'm moving over to using that as
the region key. Don't have a proper reserved invalid region hash which is
unfortunate, but then, so much is.
|
|
timestamps.
The min/max response time calculations needed to be sensitive to the response
counts to know if their was actual data. Failure to do so introduced a
gratuitous min/max test against zero values which tended to corrupt the
mins. Unit tests added to test for this condition. Finished conversion
of times to floating point seconds. Removed two logging events used to
debug the cross-thread messaging. Looks like a code completion point.
|
|
Using unpause() method in derived class rather than wake() in furthest base class
solved the stalling problem. I still think too many levels of the
LLTextureFetch hierarchy are keeping thread state, however. The
LLViewerRegion instance an agent enters doesn't necessarily have its
region_id yet, that only comes after the handshake, if any. So add
a few more metrics insertion points to propagate region into metrics.
Finally, try to launch a final metrics report when a quit is initiated.
|
|
After discussions, renamed 'QAModeMetricsSubmetrics' to 'QAModeMetrics'
and confirmed that LLCachedControl<> is the way to go. Moved the
resulting flag out of LLViewerAssetStats (where it didn't belong)
and it lives in both LLAppViewer and LLTextureFetch where it does
belong.
|
|
Detect QAMode (and new QAModeMetricsSubmode) settings which
enable logging of metrics report locally and a faster cycle
time to reduce test waiting. Do this only in the main thread
and propagate the result via collector constructors (will
likely move that out and put it in llappviewer/lltexturefetch
which is more correct scope). Managed to deadlock myself with
a recursive mutex (sheesh).
|
|
Removed declared but undefined interfaces from LLTextureFetch family.
Had inserted the cross-thread command processor into some of
LLTextureFetchWorker's processing which was unnatural and
probably wrong. Moved it to LLTextureFetch which turned out to
be far, far more natural. Better documentation on the asLLSD()
format. Refined LLSD stats merger logic and enhanced unit
tests to verify same.
|
|
Code complete with the intelligence to merge counts, mins,
maxes and means with reasonable defences. Added QAMode
controls to the viewer so that we can QA this more quickly
by reducing the timing interval and sending the metrics
body to local logging as well as to the caps service.
|
|
Asset fetch requests wrapped to allow for measurements.
Asset fetch enqueues, dequeues and completion times recorded
to asset stats collector. Texture fetch operations (http
and udp) recorded to asset stats collector. Stats collector
time vallue switched from F32 to U64 which is the more common
type in the viewer. Cross-thread mechanism introduced to
communicate region changes and generate global statistics
messages. Facility to deliver metrics via Capabilities
sketched in but needs additional work. Documentation and
diagrams added.
|
|
|
|
|
|
greedy with file handles / 'WARNING: ll_apr_warn_status: APR: Too many open files'
(transplanted from a9aefa70c029eb9dddec3833d0ce22ef4b4421b5)
|
|
greedy with file handles / 'WARNING: ll_apr_warn_status: APR: Too many open files'
|
|
account in stats
|
|
viewer 2.x and 1.23.
|
|
back-out the back-out for this branch. yay.
|
|
Backing out this merge that I pushed (prematurely) to the wrong place.
|
|
|
|
Improved the following:
1, make sure the texture callback queue is properly handled and cleaned in time;
2, estimate the LLVOTree pixel area more accurately;
3, eliminate the possibility of back and forth stopping/restarting a texture fetching
|
|
|
|
EXT-7397: decoding textures get stuck in REQ status
|
|
|
|
lltexturefetch.cpp] line 1061
|
|
|
|
|
|
and EXT-7397: decoding textures get stuck in REQ status
|
|
Reviewed by Bao and Babbage
|
|
on windows
|
|
llimage.cpp:170];
also removed the debug code for this bug.
|
|
|
|
Backed out changeset e6feef9704cf to re-introduce Bao's fix
|
|
|
|
|
|
thread on windows.
killed accessing the asset server for map textures after http returns 404.
|
|
(was: EXT-7145: FIXED: make viewer to handle "URL redirect " for http texture.)
This was causing osx/linux build failure.
|
|
|
|
either direction) when HTTP Textures is enabled
Fixed baked textures downloading. Uploading will be fixed on the server side.
|
|
and EXT-6928: Viewer crashes immediately after enabling HTTP Textures on a http-texture-server-1 simulator
|
|
|
|
a http-texture-server-1 simulator
and EXT-7009: textures fetched through http are never cached.
|
|
|
|
and possible fix for EXT-5704: FPS drop, and this could be cause freez and crash.
|
|
|
|
LLWorkerClass::checkWork: ASSERT(workreq).
|
|
pipeline; EXT-4612: failing assert LLViewerTexture::setDecodePriority: ASSERT (!mInImageList); EXT-4912: Texture alpha mask is not applied on the first frame after decode.
|
|
|
|
|
|
problem.
|
|
multi-threaded texture fetching.
|
|
Checker: RESOURCE_LEAK
Function: LLTextureFetchWorker::doWork(int)
File: /indra/newview/lltexturefetch.cpp
|
|
come later (next week).
|