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

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

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

Statistics for sync point. More...

`#include <stats.h>`

## Public Attributes
int64_t | first_
| Used for field iteration.
ecs_metric_t | time_spent
| Time spent in sync point.
ecs_metric_t | commands_enqueued
| Number of commands enqueued.
int64_t | last_
| Used for field iteration.
int32_t | system_count
| Number of systems before sync point.
bool | multi_threaded
| Whether the sync point is multi-threaded.
bool | immediate
| Whether the sync point is immediate.

## Detailed Description

Statistics for sync point.

Definition at line 195 of file stats.h.

## Member Data Documentation

## ◆ commands_enqueued

ecs_metric_t ecs_sync_stats_t::commands_enqueued

Number of commands enqueued.

Definition at line 198 of file stats.h.

## ◆ first_

int64_t ecs_sync_stats_t::first_

Used for field iteration.

Do not set.

Definition at line 196 of file stats.h.

## ◆ immediate

bool ecs_sync_stats_t::immediate

Whether the sync point is immediate.

Definition at line 203 of file stats.h.

## ◆ last_

int64_t ecs_sync_stats_t::last_

Used for field iteration.

Do not set.

Definition at line 199 of file stats.h.

## ◆ multi_threaded

bool ecs_sync_stats_t::multi_threaded

Whether the sync point is multi-threaded.

Definition at line 202 of file stats.h.

## ◆ system_count

int32_t ecs_sync_stats_t::system_count

Number of systems before sync point.

Definition at line 201 of file stats.h.

## ◆ time_spent

ecs_metric_t ecs_sync_stats_t::time_spent

Time spent in sync point.

Definition at line 197 of file stats.h.

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

- include/flecs/addons/stats.h