Function gdnative_core::profiler::add_data
source · Expand description
Add a data point to Godot’s built-in profiler. The profiler only has microsecond precision. Sub-microsecond time is truncated.
If the GDNative API is not initialized at the point when this is called, the function will fail silently.
Panics
If the number of microseconds in time
exceeds the range of u64
.