|
FLECS_API void | ecs_world_stats_get (const ecs_world_t *world, ecs_world_stats_t *stats) |
| Get world statistics.
|
|
FLECS_API void | ecs_world_stats_reduce (ecs_world_stats_t *dst, const ecs_world_stats_t *src) |
| Reduce source measurement window into single destination measurement.
|
|
FLECS_API void | ecs_world_stats_reduce_last (ecs_world_stats_t *stats, const ecs_world_stats_t *old, int32_t count) |
| Reduce last measurement into previous measurement, restore old value.
|
|
FLECS_API void | ecs_world_stats_repeat_last (ecs_world_stats_t *stats) |
| Repeat last measurement.
|
|
FLECS_API void | ecs_world_stats_copy_last (ecs_world_stats_t *dst, const ecs_world_stats_t *src) |
| Copy last measurement from source to destination.
|
|
FLECS_API void | ecs_world_stats_log (const ecs_world_t *world, const ecs_world_stats_t *stats) |
|
FLECS_API void | ecs_query_stats_get (const ecs_world_t *world, const ecs_query_t *query, ecs_query_stats_t *stats) |
| Get query statistics.
|
|
FLECS_API void | ecs_query_cache_stats_reduce (ecs_query_stats_t *dst, const ecs_query_stats_t *src) |
| Reduce source measurement window into single destination measurement.
|
|
FLECS_API void | ecs_query_cache_stats_reduce_last (ecs_query_stats_t *stats, const ecs_query_stats_t *old, int32_t count) |
| Reduce last measurement into previous measurement, restore old value.
|
|
FLECS_API void | ecs_query_cache_stats_repeat_last (ecs_query_stats_t *stats) |
| Repeat last measurement.
|
|
FLECS_API void | ecs_query_cache_stats_copy_last (ecs_query_stats_t *dst, const ecs_query_stats_t *src) |
| Copy last measurement from source to destination.
|
|
FLECS_API bool | ecs_system_stats_get (const ecs_world_t *world, ecs_entity_t system, ecs_system_stats_t *stats) |
| Get system statistics.
|
|
FLECS_API void | ecs_system_stats_reduce (ecs_system_stats_t *dst, const ecs_system_stats_t *src) |
| Reduce source measurement window into single destination measurement.
|
|
FLECS_API void | ecs_system_stats_reduce_last (ecs_system_stats_t *stats, const ecs_system_stats_t *old, int32_t count) |
| Reduce last measurement into previous measurement, restore old value.
|
|
FLECS_API void | ecs_system_stats_repeat_last (ecs_system_stats_t *stats) |
| Repeat last measurement.
|
|
FLECS_API void | ecs_system_stats_copy_last (ecs_system_stats_t *dst, const ecs_system_stats_t *src) |
| Copy last measurement from source to destination.
|
|
FLECS_API bool | ecs_pipeline_stats_get (ecs_world_t *world, ecs_entity_t pipeline, ecs_pipeline_stats_t *stats) |
| Get pipeline statistics.
|
|
FLECS_API void | ecs_pipeline_stats_fini (ecs_pipeline_stats_t *stats) |
| Free pipeline stats.
|
|
FLECS_API void | ecs_pipeline_stats_reduce (ecs_pipeline_stats_t *dst, const ecs_pipeline_stats_t *src) |
| Reduce source measurement window into single destination measurement.
|
|
FLECS_API void | ecs_pipeline_stats_reduce_last (ecs_pipeline_stats_t *stats, const ecs_pipeline_stats_t *old, int32_t count) |
| Reduce last measurement into previous measurement, restore old value.
|
|
FLECS_API void | ecs_pipeline_stats_repeat_last (ecs_pipeline_stats_t *stats) |
| Repeat last measurement.
|
|
FLECS_API void | ecs_pipeline_stats_copy_last (ecs_pipeline_stats_t *dst, const ecs_pipeline_stats_t *src) |
| Copy last measurement to destination.
|
|
FLECS_API void | ecs_metric_reduce (ecs_metric_t *dst, const ecs_metric_t *src, int32_t t_dst, int32_t t_src) |
| Reduce all measurements from a window into a single measurement.
|
|
FLECS_API void | ecs_metric_reduce_last (ecs_metric_t *m, int32_t t, int32_t count) |
| Reduce last measurement into previous measurement.
|
|
FLECS_API void | ecs_metric_copy (ecs_metric_t *m, int32_t dst, int32_t src) |
| Copy measurement.
|
|
FLECS_API | ECS_COMPONENT_DECLARE (FlecsStats) |
| Flecs stats module.
|
|
FLECS_API | ECS_COMPONENT_DECLARE (EcsWorldStats) |
| Component id for EcsWorldStats.
|
|
FLECS_API | ECS_COMPONENT_DECLARE (EcsWorldSummary) |
| Component id for EcsWorldSummary.
|
|
FLECS_API | ECS_COMPONENT_DECLARE (EcsSystemStats) |
| Component id for EcsSystemStats.
|
|
FLECS_API | ECS_COMPONENT_DECLARE (EcsPipelineStats) |
| Component id for EcsPipelineStats.
|
|
FLECS_API | ECS_COMPONENT_DECLARE (ecs_entities_memory_t) |
| Component id for ecs_entities_memory_t.
|
|
FLECS_API | ECS_COMPONENT_DECLARE (ecs_component_index_memory_t) |
| Component id for ecs_component_index_memory_t.
|
|
FLECS_API | ECS_COMPONENT_DECLARE (ecs_query_memory_t) |
| Component id for ecs_query_memory_t.
|
|
FLECS_API | ECS_COMPONENT_DECLARE (ecs_component_memory_t) |
| Component id for ecs_component_memory_t.
|
|
FLECS_API | ECS_COMPONENT_DECLARE (ecs_table_memory_t) |
| Component id for ecs_table_memory_t.
|
|
FLECS_API | ECS_COMPONENT_DECLARE (ecs_commands_memory_t) |
| Component id for ecs_commands_memory_t.
|
|
FLECS_API | ECS_COMPONENT_DECLARE (ecs_table_histogram_t) |
| Component id for ecs_table_histogram_t.
|
|
FLECS_API | ECS_COMPONENT_DECLARE (ecs_allocator_memory_t) |
| Component id for ecs_allocator_memory_t.
|
|
FLECS_API | ECS_COMPONENT_DECLARE (EcsWorldMemory) |
| Component id for EcsWorldMemory.
|
|
FLECS_API ecs_entities_memory_t | ecs_entity_index_memory_get (const ecs_world_t *world) |
| Memory statistics getters.
|
|
FLECS_API ecs_component_index_memory_t | ecs_component_index_memory_get (const ecs_world_t *world) |
| Get memory usage statistics for the component index.
|
|
FLECS_API ecs_query_memory_t | ecs_query_memory_get (const ecs_world_t *world) |
| Get memory usage statistics for queries.
|
|
FLECS_API ecs_component_memory_t | ecs_component_memory_get (const ecs_world_t *world) |
| Get memory usage statistics for components.
|
|
FLECS_API ecs_table_memory_t | ecs_table_memory_get (const ecs_world_t *world) |
| Get memory usage statistics for tables.
|
|
FLECS_API ecs_table_histogram_t | ecs_table_histogram_get (const ecs_world_t *world) |
| Get number of tables by number of entities in the table.
|
|
FLECS_API ecs_commands_memory_t | ecs_commands_memory_get (const ecs_world_t *world) |
| Get memory usage statistics for commands.
|
|
FLECS_API ecs_allocator_memory_t | ecs_allocator_memory_get (const ecs_world_t *world) |
| Get memory usage statistics for allocators.
|
|
FLECS_API void | FlecsStatsImport (ecs_world_t *world) |
| Stats module import function.
|
|
Collection of statistics for world, queries, systems and pipelines.