[ Web Proxy ]
URL:
Viewing: https://developer.android.com/games/sdk/performance-tuner/custom-engine/advanced [Back]  [Original]

Advanced usage  |  Android game development  |  Android Developers Skip to main content
Essentials Design & Plan Develop Google Play Blog
Search:
Android Studio
Android Developers [Android Developers]
Send feedback

Advanced usage Stay organized with collections Save and categorize content based on your preferences.

The following sections outline advanced usage topics not needed for normal operation of the library.

Other supported tracers

Tuning Fork supports multiple tracers. Tracers with the following instrument keys are supported:

You can find these instrument keys in the reference documentation. Some of these keys are used automatically when you enable the Android Frame Pacing library, but if you are not enabling this library, you should use them explicitly.

Get fidelity parameters

TFErrorCode TuningFork_getFidelityParameters(const CProtobufSerialization* defaultParams, CProtobufSerialization* params, uint32_t timeout_ms);

If you pass fidelity_params_callback to TuningFork_init in settings or the library is in scaled mode, you do not need to call this function.

This function contacts a server to retrieve fidelity parameters. It blocks until one of the following occurs:

You must call TuningFork_init() before this function, and you must call it on a separate thread from the main thread (see TuningFork_startFidelityParamDownloadThread() for a utility function that does this for you). You can call this function again, for example at level-loading time, to retrieve fidelity parameters from the server again. This allows you to dynamically update parameters rather than having to reload them only at start-up. If new fidelity parameters are downloaded or a new default is used, all previous tick data is submitted.

Troubleshoot common errors
Send feedback

Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.

Last updated 2026-02-26 UTC.

Need to tell us more? [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-02-26 UTC."],[],[]]

Web Proxy Viewer  |  New URL  |  Original Page