Flecs: ecs_query_stats_t Struct Reference
Description: A fast entity component system (ECS) for C & C++

| Flecs v4.0 A fast entity component system (ECS) for C & C++

Loading...
Searching...
No Matches
ecs_query_stats_t Struct Reference
C API » Addons » Stats

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

`#include <stats.h>`

## Public Attributes
int64_t | first_
ecs_metric_t | result_count
| Number of query results.
ecs_metric_t | matched_table_count
| Number of matched tables.
ecs_metric_t | matched_entity_count
| Number of matched entities.
int64_t | last_
int32_t | t
| Current position in ringbuffer.

## Detailed Description

Statistics for a single query (use ecs_query_cache_stats_get)

Definition at line 170 of file stats.h.

## Member Data Documentation

## ◆ first_

int64_t ecs_query_stats_t::first_

Definition at line 171 of file stats.h.

## ◆ last_

int64_t ecs_query_stats_t::last_

Definition at line 175 of file stats.h.

## ◆ matched_entity_count

ecs_metric_t ecs_query_stats_t::matched_entity_count

Number of matched entities.

Definition at line 174 of file stats.h.

## ◆ matched_table_count

ecs_metric_t ecs_query_stats_t::matched_table_count

Number of matched tables.

Definition at line 173 of file stats.h.

## ◆ result_count

ecs_metric_t ecs_query_stats_t::result_count

Number of query results.

Definition at line 172 of file stats.h.

## ◆ t

int32_t ecs_query_stats_t::t

Current position in ringbuffer.

Definition at line 178 of file stats.h.

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

- include/flecs/addons/stats.h