MCPcopy Create free account
hub / github.com/Redot-Engine/redot-engine / dump_benchmark

Method dump_benchmark

platform/android/java_godot_wrapper.cpp:511–519  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

509}
510
511void GodotJavaWrapper::dump_benchmark(const String &benchmark_file) {
512 if (_dump_benchmark) {
513 JNIEnv *env = get_jni_env();
514 ERR_FAIL_NULL(env);
515 jstring j_benchmark_file = env->NewStringUTF(benchmark_file.utf8().get_data());
516 env->CallVoidMethod(godot_instance, _dump_benchmark, j_benchmark_file);
517 env->DeleteLocalRef(j_benchmark_file);
518 }
519}
520
521bool GodotJavaWrapper::has_feature(const String &p_feature) const {
522 if (_has_feature) {

Callers 1

benchmark_dumpMethod · 0.80

Calls 3

get_jni_envFunction · 0.85
get_dataMethod · 0.45
utf8Method · 0.45

Tested by

no test coverage detected