Verify frame pacing improvement
Stay organized with collections
Save and categorize content based on your preferences.
After integrating Android Frame Pacing into your game, it's important to verify
that its functionality has provided more consistent frame pacing. The best tool
for confirming this improvement is the
systrace command-line program. In
particular, it's best to capture a trace for your game using the following set
of parameters:
pythonsystrace.py-ayour-app-package-name-omygametrace.html\
schedfreqidleamwmgfxviewsyncbinder_driverhalinputaidlWhen viewing the output HTML report, you can find information relevant to frame-pacing in the SurfaceView channel. This channel reports the number of frames that are buffered within the display pipeline. By successfully integrating Android Frame Pacing into your game, you should see any inconsistencies in this counter (Figure 1) become stabilized (Figure 2).