Flecs: ecs_metric_t Union 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_metric_t Union Reference
C API » Addons » Stats

Make all metrics the same size, so we can iterate over fields. More...

`#include <stats.h>`

## Public Attributes
ecs_gauge_t | gauge
| Gauge metric.
ecs_counter_t | counter
| Counter metric.

## Detailed Description

Make all metrics the same size, so we can iterate over fields.

Definition at line 57 of file stats.h.

## Member Data Documentation

## ◆ counter

ecs_counter_t ecs_metric_t::counter

Counter metric.

Definition at line 59 of file stats.h.

## ◆ gauge

ecs_gauge_t ecs_metric_t::gauge

Gauge metric.

Definition at line 58 of file stats.h.

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

- include/flecs/addons/stats.h