Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
S2-group
GitHub Repository: S2-group/android-runner
Path: blob/master/AndroidRunner/Plugins/frametimes/README.md
630 views

Frametimes Plugin

The frame times plugin gathers unique frame rendering durations (in nanoseconds) by utilizing dumpsys gfxinfo framestats and counts the amount of delayed frames that occurred following the 16ms threshold defined by Google.

Configuration

Below an example of the configuration options is found:

"profilers": { "Frametimes": { "subject_aggregation" : "default", "sample_interval": 1000 } }

sample_interval int The sample interval is configurable but advised to keep under 120 seconds as the framestats command returns only data from frames rendered in the past 120 seconds as described here. Shorter sample intervals will not cause duplication in the frames gathered as only unique frames are kept.

subject_aggregation string The default subject aggregation consists of combining both the frametimes as the delayed frames count in single files for easy further processing.

experiment_aggregation string This plugin contains no default experiment aggregation.