[][src]Module gdnative_core::nativescript::profiling

Interface to Godot's built-in profiler.

Structs

Signature

A string encoding information about the code being profiled for Godot's built-in profiler.

Functions

add_data

Add a data point to Godot's built-in profiler. The profiler only has microsecond precision. Sub-microsecond time is truncated.

profile

Times a closure and adds the measured time to Godot's built-in profiler with the given signature, and then returns it's return value.