Profiling support

This commit is contained in:
Marcelo Fernandez
2018-08-20 12:18:12 -03:00
parent f4476351f0
commit 209dd56cb0
3 changed files with 40 additions and 0 deletions

View File

@@ -97,6 +97,10 @@ void Godot::gdnative_terminate(godot_gdnative_terminate_options *options) {
// reserved for future use.
}
void Godot::gdnative_profiling_add_data(const char *p_signature, uint64_t p_time) {
godot::nativescript_1_1_api->godot_nativescript_profiling_add_data(p_signature, p_time);
}
void Godot::nativescript_init(void *handle) {
godot::_RegisterState::nativescript_handle = handle;