Files
James Woo 4da85448f6 [edit_monitor] Enhance resource metrics with p50, Max, and linear interpolation
Improves `DaemonManager` telemetry accuracy and coverage:
- Added p50 (median) and Max metrics to `edit_event.proto` to track typical load and transient spikes.
- Implemented linear interpolation for percentiles to prevent jumpy metrics on small sample sizes.
- Fixed memory calculation by dynamically querying system page size instead of assuming 4KB (supports 16KB/64KB kernels).
- Eliminated sampling drift by using absolute next-wake times instead of relative sleep intervals.

Bug: 484022773
Test: atest daemon_manager_test
Flag: EXEMPT (Internal tool)
Change-Id: I36910ac852ca04f9c7f44e51563d90a0bb688c1c
2026-03-02 20:10:12 +00:00
..
2024-09-17 19:16:55 +00:00
2024-11-05 19:37:36 +00:00