Flecs v3.1
A fast entity component system (ECS) for C & C++
Loading...
Searching...
No Matches
ecs_world_info_t Struct Reference

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

#include <flecs.h>

Public Attributes

ecs_entity_t last_component_id
 Last issued component entity id. More...
 
ecs_entity_t last_id
 Last issued entity id. More...
 
ecs_entity_t min_id
 First allowed entity id. More...
 
ecs_entity_t max_id
 Last allowed entity id. More...
 
float delta_time_raw
 Raw delta time (no time scaling) More...
 
float delta_time
 Time passed to or computed by ecs_progress. More...
 
float time_scale
 Time scale applied to delta_time. More...
 
float target_fps
 Target fps. More...
 
float frame_time_total
 Total time spent processing a frame. More...
 
float system_time_total
 Total time spent in systems. More...
 
float emit_time_total
 Total time spent notifying observers. More...
 
float merge_time_total
 Total time spent in merges. More...
 
float world_time_total
 Time elapsed in simulation. More...
 
float world_time_total_raw
 Time elapsed in simulation (no scaling) More...
 
float rematch_time_total
 Time spent on query rematching. More...
 
int64_t frame_count_total
 Total number of frames. More...
 
int64_t merge_count_total
 Total number of merges. More...
 
int64_t rematch_count_total
 Total number of rematches. More...
 
int64_t id_create_total
 Total number of times a new id was created. More...
 
int64_t id_delete_total
 Total number of times an id was deleted. More...
 
int64_t table_create_total
 Total number of times a table was created. More...
 
int64_t table_delete_total
 Total number of times a table was deleted. More...
 
int64_t pipeline_build_count_total
 Total number of pipeline builds. More...
 
int64_t systems_ran_frame
 Total number of systems ran in last frame. More...
 
int64_t observers_ran_frame
 Total number of times observer was invoked. More...
 
int32_t id_count
 Number of ids in the world (excluding wildcards) More...
 
int32_t tag_id_count
 Number of tag (no data) ids in the world. More...
 
int32_t component_id_count
 Number of component (data) ids in the world. More...
 
int32_t pair_id_count
 Number of pair ids in the world. More...
 
int32_t wildcard_id_count
 Number of wildcard ids. More...
 
int32_t table_count
 Number of tables. More...
 
int32_t tag_table_count
 Number of tag-only tables. More...
 
int32_t trivial_table_count
 Number of tables with trivial components (no lifecycle callbacks) More...
 
int32_t empty_table_count
 Number of tables without entities. More...
 
int32_t table_record_count
 Total number of table records (entries in table caches) More...
 
int32_t table_storage_count
 Total number of table storages. More...
 
struct {
   int64_t   add_count
 add commands processed More...
 
   int64_t   remove_count
 remove commands processed More...
 
   int64_t   delete_count
 delete commands processed More...
 
   int64_t   clear_count
 clear commands processed More...
 
   int64_t   set_count
 set commands processed More...
 
   int64_t   get_mut_count
 get_mut/emplace commands processed More...
 
   int64_t   modified_count
 modified commands processed More...
 
   int64_t   other_count
 other commands processed More...
 
   int64_t   discard_count
 commands discarded, happens when entity is no longer alive when running the command More...
 
   int64_t   batched_entity_count
 entities for which commands were batched More...
 
   int64_t   batched_command_count
 commands batched More...
 
cmd
 
const char * name_prefix
 Value set by ecs_set_name_prefix. More...
 

Detailed Description

Type that contains information about the world.

Definition at line 928 of file flecs.h.

Member Data Documentation

◆ add_count

int64_t ecs_world_info_t::add_count

add commands processed

Definition at line 973 of file flecs.h.

◆ batched_command_count

int64_t ecs_world_info_t::batched_command_count

commands batched

Definition at line 983 of file flecs.h.

◆ batched_entity_count

int64_t ecs_world_info_t::batched_entity_count

entities for which commands were batched

Definition at line 982 of file flecs.h.

◆ clear_count

int64_t ecs_world_info_t::clear_count

clear commands processed

Definition at line 976 of file flecs.h.

◆ component_id_count

int32_t ecs_world_info_t::component_id_count

Number of component (data) ids in the world.

Definition at line 960 of file flecs.h.

◆ delete_count

int64_t ecs_world_info_t::delete_count

delete commands processed

Definition at line 975 of file flecs.h.

◆ delta_time

float ecs_world_info_t::delta_time

Time passed to or computed by ecs_progress.

Definition at line 935 of file flecs.h.

◆ delta_time_raw

float ecs_world_info_t::delta_time_raw

Raw delta time (no time scaling)

Definition at line 934 of file flecs.h.

◆ discard_count

int64_t ecs_world_info_t::discard_count

commands discarded, happens when entity is no longer alive when running the command

Definition at line 981 of file flecs.h.

◆ emit_time_total

float ecs_world_info_t::emit_time_total

Total time spent notifying observers.

Definition at line 940 of file flecs.h.

◆ empty_table_count

int32_t ecs_world_info_t::empty_table_count

Number of tables without entities.

Definition at line 967 of file flecs.h.

◆ frame_count_total

int64_t ecs_world_info_t::frame_count_total

Total number of frames.

Definition at line 946 of file flecs.h.

◆ frame_time_total

float ecs_world_info_t::frame_time_total

Total time spent processing a frame.

Definition at line 938 of file flecs.h.

◆ get_mut_count

int64_t ecs_world_info_t::get_mut_count

get_mut/emplace commands processed

Definition at line 978 of file flecs.h.

◆ id_count

int32_t ecs_world_info_t::id_count

Number of ids in the world (excluding wildcards)

Definition at line 958 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 950 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 951 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 929 of file flecs.h.

◆ last_id

ecs_entity_t ecs_world_info_t::last_id

Last issued entity id.

Definition at line 930 of file flecs.h.

◆ max_id

ecs_entity_t ecs_world_info_t::max_id

Last allowed entity id.

Definition at line 932 of file flecs.h.

◆ merge_count_total

int64_t ecs_world_info_t::merge_count_total

Total number of merges.

Definition at line 947 of file flecs.h.

◆ merge_time_total

float ecs_world_info_t::merge_time_total

Total time spent in merges.

Definition at line 941 of file flecs.h.

◆ min_id

ecs_entity_t ecs_world_info_t::min_id

First allowed entity id.

Definition at line 931 of file flecs.h.

◆ modified_count

int64_t ecs_world_info_t::modified_count

modified commands processed

Definition at line 979 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 986 of file flecs.h.

◆ observers_ran_frame

int64_t ecs_world_info_t::observers_ran_frame

Total number of times observer was invoked.

Definition at line 956 of file flecs.h.

◆ other_count

int64_t ecs_world_info_t::other_count

other commands processed

Definition at line 980 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 961 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 954 of file flecs.h.

◆ rematch_count_total

int64_t ecs_world_info_t::rematch_count_total

Total number of rematches.

Definition at line 948 of file flecs.h.

◆ rematch_time_total

float ecs_world_info_t::rematch_time_total

Time spent on query rematching.

Definition at line 944 of file flecs.h.

◆ remove_count

int64_t ecs_world_info_t::remove_count

remove commands processed

Definition at line 974 of file flecs.h.

◆ set_count

int64_t ecs_world_info_t::set_count

set commands processed

Definition at line 977 of file flecs.h.

◆ system_time_total

float ecs_world_info_t::system_time_total

Total time spent in systems.

Definition at line 939 of file flecs.h.

◆ systems_ran_frame

int64_t ecs_world_info_t::systems_ran_frame

Total number of systems ran in last frame.

Definition at line 955 of file flecs.h.

◆ table_count

int32_t ecs_world_info_t::table_count

Number of tables.

Definition at line 964 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 952 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 953 of file flecs.h.

◆ table_record_count

int32_t ecs_world_info_t::table_record_count

Total number of table records (entries in table caches)

Definition at line 968 of file flecs.h.

◆ table_storage_count

int32_t ecs_world_info_t::table_storage_count

Total number of table storages.

Definition at line 969 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 959 of file flecs.h.

◆ tag_table_count

int32_t ecs_world_info_t::tag_table_count

Number of tag-only tables.

Definition at line 965 of file flecs.h.

◆ target_fps

float ecs_world_info_t::target_fps

Target fps.

Definition at line 937 of file flecs.h.

◆ time_scale

float ecs_world_info_t::time_scale

Time scale applied to delta_time.

Definition at line 936 of file flecs.h.

◆ trivial_table_count

int32_t ecs_world_info_t::trivial_table_count

Number of tables with trivial components (no lifecycle callbacks)

Definition at line 966 of file flecs.h.

◆ wildcard_id_count

int32_t ecs_world_info_t::wildcard_id_count

Number of wildcard ids.

Definition at line 962 of file flecs.h.

◆ world_time_total

float ecs_world_info_t::world_time_total

Time elapsed in simulation.

Definition at line 942 of file flecs.h.

◆ world_time_total_raw

float ecs_world_info_t::world_time_total_raw

Time elapsed in simulation (no scaling)

Definition at line 943 of file flecs.h.


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