Skip to content
Flecs v4.1
ecs_world_info_t Struct Reference

Type that contains information about the world. More...

#include <flecs.h>

Classes

struct  [struct].cmd

Public Attributes

ecs_entity_t last_component_id
 Last issued component entity ID.
float delta_time_raw
 Raw delta time (no time scaling).
float delta_time
 Time passed to or computed by ecs_progress().
float time_scale
 Time scale applied to delta_time.
float target_fps
 Target FPS.
float frame_time_total
 Total time spent processing a frame.
float system_time_total
 Total time spent in systems.
float emit_time_total
 Total time spent notifying observers.
float merge_time_total
 Total time spent in merges.
float rematch_time_total
 Time spent on query rematching.
double world_time_total
 Time elapsed in simulation.
double world_time_total_raw
 Time elapsed in simulation (no scaling).
int64_t frame_count_total
 Total number of frames.
int64_t merge_count_total
 Total number of merges.
int64_t eval_comp_monitors_total
 Total number of monitor evaluations.
int64_t rematch_count_total
 Total number of rematches.
int64_t id_create_total
 Total number of times a new ID was created.
int64_t id_delete_total
 Total number of times an ID was deleted.
int64_t table_create_total
 Total number of times a table was created.
int64_t table_delete_total
 Total number of times a table was deleted.
int64_t pipeline_build_count_total
 Total number of pipeline builds.
int64_t systems_ran_total
 Total number of systems run.
int64_t observers_ran_total
 Total number of times an observer was invoked.
int64_t queries_ran_total
 Total number of times a query was evaluated.
int32_t tag_id_count
 Number of tag (no data) IDs in the world.
int32_t component_id_count
 Number of component (data) IDs in the world.
int32_t pair_id_count
 Number of pair IDs in the world.
int32_t table_count
 Number of tables.
uint32_t creation_time
 Time when world was created.
struct  cmd
 Command statistics.
const char * name_prefix
 Value set by ecs_set_name_prefix().

Detailed Description

Type that contains information about the world.

Definition at line 1534 of file flecs.h.

Member Data Documentation

◆ component_id_count

int32_t ecs_world_info_t::component_id_count

Number of component (data) IDs in the world.

Definition at line 1564 of file flecs.h.

◆ creation_time

uint32_t ecs_world_info_t::creation_time

Time when world was created.

Definition at line 1569 of file flecs.h.

◆ delta_time

float ecs_world_info_t::delta_time

Time passed to or computed by ecs_progress().

Definition at line 1538 of file flecs.h.

◆ delta_time_raw

float ecs_world_info_t::delta_time_raw

Raw delta time (no time scaling).

Definition at line 1537 of file flecs.h.

◆ emit_time_total

float ecs_world_info_t::emit_time_total

Total time spent notifying observers.

Definition at line 1543 of file flecs.h.

◆ eval_comp_monitors_total

int64_t ecs_world_info_t::eval_comp_monitors_total

Total number of monitor evaluations.

Definition at line 1551 of file flecs.h.

◆ frame_count_total

int64_t ecs_world_info_t::frame_count_total

Total number of frames.

Definition at line 1549 of file flecs.h.

◆ frame_time_total

float ecs_world_info_t::frame_time_total

Total time spent processing a frame.

Definition at line 1541 of file flecs.h.

◆ id_create_total

int64_t ecs_world_info_t::id_create_total

Total number of times a new ID was created.

Definition at line 1554 of file flecs.h.

◆ id_delete_total

int64_t ecs_world_info_t::id_delete_total

Total number of times an ID was deleted.

Definition at line 1555 of file flecs.h.

◆ last_component_id

ecs_entity_t ecs_world_info_t::last_component_id

Last issued component entity ID.

Definition at line 1535 of file flecs.h.

◆ merge_count_total

int64_t ecs_world_info_t::merge_count_total

Total number of merges.

Definition at line 1550 of file flecs.h.

◆ merge_time_total

float ecs_world_info_t::merge_time_total

Total time spent in merges.

Definition at line 1544 of file flecs.h.

◆ name_prefix

const char* ecs_world_info_t::name_prefix

Value set by ecs_set_name_prefix().

Used to remove library prefixes of symbol names (such as Ecs, ecs_) when registering them as names.

Definition at line 1587 of file flecs.h.

◆ observers_ran_total

int64_t ecs_world_info_t::observers_ran_total

Total number of times an observer was invoked.

Definition at line 1560 of file flecs.h.

◆ pair_id_count

int32_t ecs_world_info_t::pair_id_count

Number of pair IDs in the world.

Definition at line 1565 of file flecs.h.

◆ pipeline_build_count_total

int64_t ecs_world_info_t::pipeline_build_count_total

Total number of pipeline builds.

Definition at line 1558 of file flecs.h.

◆ queries_ran_total

int64_t ecs_world_info_t::queries_ran_total

Total number of times a query was evaluated.

Definition at line 1561 of file flecs.h.

◆ rematch_count_total

int64_t ecs_world_info_t::rematch_count_total

Total number of rematches.

Definition at line 1552 of file flecs.h.

◆ rematch_time_total

float ecs_world_info_t::rematch_time_total

Time spent on query rematching.

Definition at line 1545 of file flecs.h.

◆ system_time_total

float ecs_world_info_t::system_time_total

Total time spent in systems.

Definition at line 1542 of file flecs.h.

◆ systems_ran_total

int64_t ecs_world_info_t::systems_ran_total

Total number of systems run.

Definition at line 1559 of file flecs.h.

◆ table_count

int32_t ecs_world_info_t::table_count

Number of tables.

Definition at line 1567 of file flecs.h.

◆ table_create_total

int64_t ecs_world_info_t::table_create_total

Total number of times a table was created.

Definition at line 1556 of file flecs.h.

◆ table_delete_total

int64_t ecs_world_info_t::table_delete_total

Total number of times a table was deleted.

Definition at line 1557 of file flecs.h.

◆ tag_id_count

int32_t ecs_world_info_t::tag_id_count

Number of tag (no data) IDs in the world.

Definition at line 1563 of file flecs.h.

◆ target_fps

float ecs_world_info_t::target_fps

Target FPS.

Definition at line 1540 of file flecs.h.

◆ time_scale

float ecs_world_info_t::time_scale

Time scale applied to delta_time.

Definition at line 1539 of file flecs.h.

◆ world_time_total

double ecs_world_info_t::world_time_total

Time elapsed in simulation.

Definition at line 1546 of file flecs.h.

◆ world_time_total_raw

double ecs_world_info_t::world_time_total_raw

Time elapsed in simulation (no scaling).

Definition at line 1547 of file flecs.h.


The documentation for this struct was generated from the following file: