Follow-up to #101.
Goal
Populate real cpu and memory metrics for Android targets in agent-device perf --json / metrics --json.
Scope
- Android emulator + physical device
- Session-scoped
perf command response
- Sampling metadata (
method, unit, measuredAt)
Proposed data sources
- CPU:
adb shell dumpsys cpuinfo (package-focused parsing)
- Memory:
adb shell dumpsys meminfo <package>
Acceptance criteria
Out of scope
- iOS CPU/memory
- FPS sampling
Follow-up to #101.
Goal
Populate real
cpuandmemorymetrics for Android targets inagent-device perf --json/metrics --json.Scope
perfcommand responsemethod,unit,measuredAt)Proposed data sources
adb shell dumpsys cpuinfo(package-focused parsing)adb shell dumpsys meminfo <package>Acceptance criteria
metrics.cpu.available=trueon Android when app/package context is availablemetrics.memory.available=trueon Android when app/package context is availablecode,message,hint, etc.) when sampling failsOut of scope