Repository navigation
问题包加上实例的实际帧率 - #176
Merged
Merged
问题包加上实例的实际帧率#176
Conversation
收集最后对每台连得上的实例读屏幕刷新率,用 SurfaceFlinger timestats 同时采样 10 秒,原始输出放 fps\,summary 每台一行写刷新率和主要图层的平均帧率、帧间隔中位和 95%。用户说卡时,能分清是屏幕刷新率没变还是游戏本身帧数低。 Refs ModAVD/ModAVD#180
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
问题包里加上每台在跑实例的实际帧率。
有用户反馈实例帧率设成 48 也卡,和 15、24 差不多。现在的问题包看不出是屏幕刷新率没变,还是游戏本身只画了十几帧。
做法
dumpsys SurfaceFlinger --timestats采样 10 秒(几台同时采),结束后关掉、清空记录。fps/<实例>.txt;summary.txt 每台一行:刷新率,加上帧数最多的两个图层的平均帧率和帧间隔(中位、95%)。goOnlySections、goOnlyEntry)。测试
go test ./internal/report/、go vet通过;新增解析和命令的单测。Refs ModAVD/ModAVD#180