diff options
| author | NotRexed <therealnothingfn@gmail.com> | 2026-11-28 16:54:49 -0500 |
|---|---|---|
| committer | NotRexed <therealnothingfn@gmail.com> | 2026-11-28 16:54:49 -0500 |
| commit | bed7b1d223273be92012bf67efbd2733fee9b985 (patch) | |
| tree | e8eb091c99eb0be9485fb1d4c721715790bcf0a0 /runtime/test/code_hooks_test.cpp | |
| parent | aa918e5d9f9e2f03e078d8f08854324890b5e176 (diff) | |
GPU: upload and shared buffers made a second, by the line that asked, size and thread, with the time it took (diagnostics)
Each Host::upload_buffer and Host::shared_buffer is a committed resource,
made resident and mapped (a shared one also waited for until the card has
it), on the thread that asks. The frame-rate lines now say how many were
made a second and the milliseconds that took, by size class and by
thread, and every 30th line the lines of the source that asked for the
most since the start (host/buffers_made.rs).
One walking run (series -Moves, waterside-1125, Series X 1440p, frame
generation off; RTX 4060 Ti 16 GB, Ryzen 5 7600X), 226 one-second lines
in the world:
- upload buffers: 63.1 a second (median 59.7, most 206.8), 101.7 ms a
second (median 75.0, most 644), 1.61 ms each; by size 47.0 a second of
64-256 KiB, 1.1 of 256 KiB-1 MiB, 14.8 of 1-4 MiB, 0.2 above 16 MiB;
- shared buffers: 46.7 a second (median 45.5), 136.0 ms a second (median
132.5, most 330), 2.91 ms each; 28.8 a second of up to 64 KiB, 12.0 of
64-256 KiB, 5.8 of 1-4 MiB, 0.1 of 4-16 MiB;
- by thread: the threads that translate the title's lists (leonida-list)
62.9 upload buffers in 98.7 ms and 40.4 shared in 130.3 ms a second;
leonida-views 5.2 shared in 4.8 ms.
Since the start, 34,779 in 72.9 s: host.rs:8650 (a list's uploads, shared
from card step stage 2 on) 9,711 in 34.3 s, 32 KiB-16.3 MiB; host.rs:2619
(a list's scratch chunks) 17,299 in 28.8 s, 256 KiB-7.9 MiB; host.rs:8728
1,323 of 256 B in 2.7 s; the texture staging blocks (64 MiB) 73 in 1.8 s;
shadow.rs 6432/6564/6090 6,341 in 4.5 s.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/test/code_hooks_test.cpp')
0 files changed, 0 insertions, 0 deletions