stats#

Fully qualified name: carb::stats

namespace stats#

Namespace for the arbitrary statistics interface.

Enumerations#

AggregationType

Names for the different ways a statistic can be aggregated when a new value is added.

StatType

Names for the type of statistic value to be stored or retrieved.

Functions#

CARB_STRONGTYPE(StatId, size_t)

Base type for the identifier for a single statistic value.

Structs#

IStats

(Example not a real interface)

StatDesc

A descriptor for a new statistic to be added or enumerated.

Value

A container for a single statistic value.

Variables#

constexpr StatId kBadStatId

A special statistic identifier value to indicate that the given statistic is invalid or that an error occurred.