upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/runtime/test/memory_breakdown_test.cpp
diff options
context:
space:
mode:
authorJan Trencansky <jan.trencansky@protonmail.com>2026-11-27 04:19:42 -0500
committerJan Trencansky <jan.trencansky@protonmail.com>2026-11-27 04:19:42 -0500
commit54b4e2f6723cbb77813ca94f9201bb401fdb3154 (patch)
tree6fbe1cdb8d0367bd20d03fad7b2a2662fe6315ee /runtime/test/memory_breakdown_test.cpp
parent6edfe235b285944c401b14dff2626521a70e6cc4 (diff)
d3d12: a texture read whole is copied and hashed by its tiles on all read threads, and the pass logs its split (RT-TITLE-TEXTURE-WRITE-TRACKED)
Run 63: with nothing written a pass costs 0.05-0.1 ms; the average comes from the changed textures, about 0.8 ms per MiB uploaded (the opening's video planes and streamed textures: 1,720 uploads, 6.8 GB in 10 s). Each was read by one thread, start to end: the copy from write-combined title memory, a full hash, the part hashes (a second pass), and the detile. A burst of three large planes used three threads at most. Now a texture read whole is copied and hashed in pieces of 16 tiles (1 MiB), spread over all the read threads; its hash is made of its parts' hashes (TilePieces::combined, at every fill too), so its bytes are read once and hashed once; the detile stays per texture. The 10 s split line gives, per pass: finding what to look at, naming/arming/reserving, reading (and detiling, summed over the threads), MiB read whole, and recording/submitting the transfers. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/test/memory_breakdown_test.cpp')
0 files changed, 0 insertions, 0 deletions