Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SurfaceView FPS统计优化 #222

Merged
merged 2 commits into from
Sep 19, 2023
Merged

Conversation

huangwei1024
Copy link
Contributor

  1. 双引号转义问题 dumpsys SurfaceFlinger --latency \\"%s\\"
  2. get_surfaceview使用对应的 Surfaceview - xxx 能得到正确nano时间戳
  3. FPS.getObject单次apm统计时不再每次请求时创建对应对象, 方便保存历史数据

上述测试在华为MED-AL00游戏应用中, FPS接近perfdog统计. 原来版本无法正确统计(不管是否开关SurfaceView选项)

@rafa0128 rafa0128 merged commit f322da7 into smart-test-ti:master Sep 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants