Flecs v3.2
A fast entity component system (ECS) for C & C++
No Matches
ecs_query_stats_t Struct Reference

Statistics for a single query (use ecs_query_stats_get()) More...

#include <stats.h>

Public Attributes

int64_t first_
ecs_metric_t matched_table_count
 Matched non-empty tables.
ecs_metric_t matched_empty_table_count
 Matched empty tables.
ecs_metric_t matched_entity_count
 Number of matched entities.
ecs_metric_t eval_count
 Number of times query is evaluated.
int64_t last_
int32_t t
 Current position in ring buffer.

Detailed Description

Statistics for a single query (use ecs_query_stats_get())

Definition at line 156 of file stats.h.

Member Data Documentation

◆ eval_count

ecs_metric_t ecs_query_stats_t::eval_count

Number of times query is evaluated.

Definition at line 161 of file stats.h.

◆ first_

int64_t ecs_query_stats_t::first_

Definition at line 157 of file stats.h.

◆ last_

int64_t ecs_query_stats_t::last_

Definition at line 162 of file stats.h.

◆ matched_empty_table_count

ecs_metric_t ecs_query_stats_t::matched_empty_table_count

Matched empty tables.

Definition at line 159 of file stats.h.

◆ matched_entity_count

ecs_metric_t ecs_query_stats_t::matched_entity_count

Number of matched entities.

Definition at line 160 of file stats.h.

◆ matched_table_count

ecs_metric_t ecs_query_stats_t::matched_table_count

Matched non-empty tables.

Definition at line 158 of file stats.h.

◆ t

int32_t ecs_query_stats_t::t

Current position in ring buffer.

Definition at line 165 of file stats.h.

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