#include <include/flecs.h> FLECS_API void ecs_measure_frame_time(ecs_world_t *world, bool enable)
Measure frame time. Frame time measurements measure the total time passed in a single frame, and how much of that time was spent on systems and on merging.
Frame time measurements add a small constant-time overhead to an application. When an application sets a target FPS, frame time measurements are enabled by default.
world- The world.
enable- Whether to enable or disable frame time measuring.