संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
टीएफ़सेटिंग
#include <tuningfork.h>
प्रोसेस शुरू करने की सेटिंग, इस्तेमाल नहीं की जा रही वैल्यू को शून्य कर देती है.
खास जानकारी
सार्वजनिक विशेषताएं
|
endpoint_uri_override
|
const char *
शून्य-खत्म की गई एक स्ट्रिंग जिसमें एंडपॉइंट होता है, जिसे ट्यूनिंग फ़ोर्क पैरामीटर, अपलोड, और डीबग अनुरोधों के लिए कनेक्ट करेगा.
|
fidelity_params_callback
|
अगर कॉलबैक सेट किया जाता है, तो इसे डाउनलोड किए गए फ़िडेलिटी पैरामीटर के साथ कॉल किया जाता है.
|
persistent_cache
|
डेटा को एक जैसा बनाए रखने के लिए, कैश ऑब्जेक्ट का इस्तेमाल किया जाएगा.
|
swappy_tracer_fn
|
Swippy_injectTracers फ़ंक्शन का पता.
|
swappy_version
|
uint32_t
Swippy का वह वर्शन जिससे swappy_tracer_fn आता है.
|
training_fidelity_params
|
सीरीज़ के तौर पर एक प्रोटोबफ़ में फ़िडेलिटी पैरामीटर मौजूद होते हैं, जिसे ट्रेनिंग के लिए अपलोड किया जाता है.
|
सार्वजनिक विशेषताएं
एंडपॉइंट_uri_override
const char * TFSettings::endpoint_uri_override
शून्य-खत्म की गई एक स्ट्रिंग जिसमें एंडपॉइंट होता है, जिसे ट्यूनिंग फ़ोर्क पैरामीटर, अपलोड, और डीबग अनुरोधों के लिए कनेक्ट करेगा.
यह सेटिंग प्रोटो में base_uri मान को बदल देता है और इसका इस्तेमाल सिर्फ़ डीबग करने के लिए किया जाता है.
फ़िडेलिटी पैरामीटर - कॉलबैक
ProtoCallback TFSettings::fidelity_params_callback
अगर कॉलबैक सेट किया जाता है, तो इसे डाउनलोड किए गए फ़िडेलिटी पैरामीटर के साथ कॉल किया जाता है.
अगर इस नीति को सेट नहीं किया जाता है, तो TuningFork_getFidelityParameters को खुद कॉल करना होगा.
परसिस्टेंट_कैश
const TFCache * TFSettings::persistent_cache
डेटा को एक जैसा बनाए रखने के लिए, कैश ऑब्जेक्ट का इस्तेमाल किया जाएगा.
अगर इस नीति को सेट नहीं किया जाता है, तो डेटा /data/local/tmp/tunefork में सेव रहता है
swappy_tracer_fn
SwappyTracerFn TFSettings::swappy_tracer_fn
Swippy_injectTracers फ़ंक्शन का पता.
अगर यह नीति सेट नहीं है, तो TuningFork_tick को खुद कॉल करें. अगर इस नीति को सेट किया जाता है, तो चार इंस्ट्रुमेंट बटन के लिए टेलीमेट्री अपने-आप रिकॉर्ड हो जाते हैं.
swappy_version
uint32_t TFSettings::swappy_version
Swippy का वह वर्शन जिससे swappy_tracer_fn आता है.
ट्रेनिंग_फ़िडेलिटी_पैरामीटर
const CProtobufSerialization * TFSettings::training_fidelity_params
सीरीज़ के तौर पर एक प्रोटोबफ़ में फ़िडेलिटी पैरामीटर मौजूद होते हैं, जिसे ट्रेनिंग के लिए अपलोड किया जाता है.
अगर ट्रेनिंग मोड का इस्तेमाल नहीं किया जा रहा है, तो इसे nullptr पर सेट करें. ध्यान दें कि अगर APK से लोड किए गए डिफ़ॉल्ट पैरामीटर मौजूद हैं, लेकिन उन्हें डाउनलोड या सेव नहीं किया गया है, तो इनकी जगह डिफ़ॉल्ट पैरामीटर का इस्तेमाल किया जाता है.
इस पेज पर मौजूद कॉन्टेंट और कोड सैंपल कॉन्टेंट के लाइसेंस में बताए गए लाइसेंस के हिसाब से हैं. Java और OpenJDK, Oracle और/या इससे जुड़ी हुई कंपनियों के ट्रेडमार्क या रजिस्टर किए हुए ट्रेडमार्क हैं.
आखिरी बार 2025-07-26 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-07-26 (UTC) को अपडेट किया गया."],[],[],null,["# TFSettings Struct Reference\n\nTFSettings\n==========\n\n`#include \u003ctuningfork.h\u003e`\n\nInitialization settings Zero any values that are not being used.\n\nSummary\n-------\n\n| ### Public attributes ||\n|-------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [endpoint_uri_override](#struct_t_f_settings_1a88e9ace6b6d25dfdf6ee281f1840ace3) | `const char *` A null-terminated string containing the endpoint that Tuning Fork will connect to for parameter, upload and debug requests. |\n| [fidelity_params_callback](#struct_t_f_settings_1a89cd30d7f2359b54c20ac53aca6aa629) | [ProtoCallback](/games/sdk/reference/performance-tuner/custom-engine/group/tuningfork#group__tuningfork_1gaf780faded2692da73f8d7ee37499d171) Callback If set, this is called with the fidelity parameters that are downloaded. |\n| [persistent_cache](#struct_t_f_settings_1a25e55876c9296aaec34b4dbb8772ceba) | `const `[TFCache](/games/sdk/reference/performance-tuner/custom-engine/struct/t-f-cache#struct_t_f_cache)` *` Cache object to be used for upload data persistence. |\n| [swappy_tracer_fn](#struct_t_f_settings_1a3ca27ab14efce1c40d4b70f8e567da33) | [SwappyTracerFn](/games/sdk/reference/performance-tuner/custom-engine/group/tuningfork#group__tuningfork_1ga43b1819af457676a72f228c08068fed4) The address of the Swappy_injectTracers function. |\n| [swappy_version](#struct_t_f_settings_1a5c2d98b44ddf8084bc7ef9eff516d451) | `uint32_t` The version of Swappy that swappy_tracer_fn comes from. |\n| [training_fidelity_params](#struct_t_f_settings_1a3ab649a2ec035694d4b035b742d56dd9) | `const `[CProtobufSerialization](/games/sdk/reference/performance-tuner/custom-engine/struct/c-protobuf-serialization#struct_c_protobuf_serialization)` *` A serialized protobuf containing the fidelity parameters to be uploaded for training. |\n\nPublic attributes\n-----------------\n\n### endpoint_uri_override\n\n```gdscript\nconst char * TFSettings::endpoint_uri_override\n``` \nA null-terminated string containing the endpoint that Tuning Fork will connect to for parameter, upload and debug requests.\n\nThis overrides the value in base_uri in the settings proto and is intended for debugging purposes only. \n\n### fidelity_params_callback\n\n```scdoc\nProtoCallback TFSettings::fidelity_params_callback\n``` \nCallback If set, this is called with the fidelity parameters that are downloaded.\n\nIf unset, you need to call TuningFork_getFidelityParameters yourself. \n\n### persistent_cache\n\n```gdscript\nconst TFCache * TFSettings::persistent_cache\n``` \nCache object to be used for upload data persistence.\n\nIf unset, data is persisted to /data/local/tmp/tuningfork \n\n### swappy_tracer_fn\n\n```scdoc\nSwappyTracerFn TFSettings::swappy_tracer_fn\n``` \nThe address of the Swappy_injectTracers function.\n\nIf this is unset, you need to call TuningFork_tick yourself. If it is set, telemetry for 4 instrument keys is automatically recorded. \n\n### swappy_version\n\n```scdoc\nuint32_t TFSettings::swappy_version\n``` \nThe version of Swappy that swappy_tracer_fn comes from. \n\n### training_fidelity_params\n\n```gdscript\nconst CProtobufSerialization * TFSettings::training_fidelity_params\n``` \nA serialized protobuf containing the fidelity parameters to be uploaded for training.\n\nSet this to nullptr if you are not using training mode. Note that these are used instead of the default parameters loaded from the APK, if they are present and there are neither a successful download nor saved parameters."]]