Function ecs_measure_system_time

Synopsis

#include <include/flecs.h>

FLECS_API void ecs_measure_system_time(ecs_world_t *world, bool enable)

Description

Measure system time. System time measurements measure the time spent in each system.

System time measurements add overhead to every system invocation and therefore have a small but measurable impact on application performance. System time measurements must be enabled before obtaining system statistics.

Parameters

world - The world.

enable - Whether to enable or disable system time measuring.

Source

Line 1217 in include/flecs.h.