gpui: Report average dirty-to-present frame timings (#63221)

Extends the existing GPUI frame-duration telemetry with the average time
from a window's first invalidation through presentation.

- Record dirty-to-present durations in each window profiler
- Include the declared root entity type name on window handles
- Add the average and root type to the existing five-minute `Frame
Duration Report` event

Testing:

- `cargo fmt --all -- --check`
- `cargo test -p gpui --features profiler
records_dirty_to_present_durations`
- `cargo check -p gpui --no-default-features`
- `cargo check -p input_latency_ui -p zed`

Release Notes:

- N/A
55007f518bAnthony Eid committed on 8/25/2026, 11:21:19 PM· committed by GitHubparent1ff7cb6
4 files changedLine totals unavailable