Seven new Metrics parts, each a Timed as the take's parts: image_creates
(vkCreateImage of a texture's, a shadow's and a surface plane's make), image_binds
(vkBindImageMemory of those images), image_view_creates (every vkCreateImageView),
texture_place_lock_waits (a texture placement's wait for the arrays' lock),
home_lock_waits (a new texture's, shadow's or acquired drawable's wait for the work
lock in Work::home), surface_allocations (an in-place surface's exportable
vkAllocateMemory) and surface_handles (each export of its handle). Counters only:
no policy, no switch. README parts list and api_signatures.tsv updated.
Tests: make_parts (a texture made at an index is one call of each texture part; an
in-place surface of one plane adds one allocation and one or three handle exports).
A texture's place in a texture block is not among the takes: only a texture block that the
place takes is; the place itself, under the places lock, is untimed (README).
Why: on the RTX 3090 (consumer walk m3-max-65677) 25 of 96 makes of 1 ms or more showed no part
rising on any thread; these parts time what such a make does that no part timed.
Driver calls made under a runtime lock, seen while adding the timers (no locking changed): the
arrays lock across vkUpdateDescriptorSets (Arrays::place_texture), and the work lock across
Upload::begin's vkCreateCommandPool, vkAllocateCommandBuffers, vkBeginCommandBuffer,
vkCreateQueryPool, vkResetQueryPool and vkCmdWriteTimestamp2 (Work::home). A lock wait counts in
the waiting make's own part; the holder's time is in no part.
Verified at f6c36e2e91: compile job m3-max-65788 (fmt, signatures, refusal surface, clippy
plain / --cfg m2v_gpu / --cfg m2v_cpu_icd, workspace Rustdoc -D warnings, api-docs) green; the
runtime suite on lavapipe 637 passed, 3 skipped, the make_parts tests with opaque-fd and dma-buf
surfaces made in place. The README sentence fix on top is not compiled or read by a test.